dotfiles

Cross platform dotfiles for linux, mac and windows

commit cecf30cbd607fb0e629c70c5ffcdb51215085338
parent 44e5298bcdc796e2d11584ad08f4230a606b1312
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Fri, 5 Jan 2024 20:02:14 +0530

Add missing .bashrc

Add exception for .bashrc in .gitignore

NOTE
----
(removed .bash_profile in previous commit)
2 files changed, 11 insertions(+), 2 deletions(-)
A
.bashrc
|
10
++++++++++
M
.gitignore
|
3
+--
diff --git a/.bashrc b/.bashrc
@@ -0,0 +1,10 @@
+[ -f "$XDG_CONFIG_HOME/sh/unstaged" ] && . "$XDG_CONFIG_HOME/sh/unstaged"
+[ -f "$XDG_CONFIG_HOME/bash_unstaged" ] && . "$XDG_CONFIG_HOME/bash_unstaged"
+. "${XDG_CONFIG_HOME}/sh/aliases"
+
+PS1='\w> '
+
+set -o vi
+
+bind '"\C-P":"quickopen\n"'
+bind '"\C-T":"fg\n"'
diff --git a/.gitignore b/.gitignore
@@ -8,8 +8,7 @@
 !.profile
 
 # Bash
-!.bash_profile
-!.bash_logout
+!.bashrc
 
 # Config
 !.config/