]> git.zndr.dk Git - dotfiles.git/commitdiff
Cosmetic bash update
authorJannik ZANDER <jannikz@gmail.com>
Tue, 3 May 2016 21:00:16 +0000 (23:00 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Tue, 3 May 2016 21:00:16 +0000 (23:00 +0200)
.bash_profile
.bashrc
.vimrc

index b9cb38a3e9fa66e1bba9a598c68da711e7ba78e8..abe2a13ef67e27d284dcec98c120854dbf1879ff 100644 (file)
@@ -1,6 +1,4 @@
 # User dependent .bash_profile file
 
 # source the users bashrc if it exists
-if [ -f "${HOME}/.bashrc" ] ; then
-  source "${HOME}/.bashrc"
-fi
+[ -f "${HOME}/.bashrc" ] && source "${HOME}/.bashrc"
diff --git a/.bashrc b/.bashrc
index 3d5fddf51c654cbb9fd6b02bc736453337a62c01..7bb9f79d6e425b50169b899452c28942287a8d7f 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -5,9 +5,10 @@
 #[ -n "$PS1" ] && source ~/.bash_profile;
 
 # Load settings
-for file in ~/.bash/*; do
+for file in "${HOME}/.bash/*"; do
     [ -f "$file" ] && source "$file";
 done;
 
 # Local/private settings
-[ -f ~/.bashrc_local ] && source ~/.bashrc_local;
+[ -f "${HOME}/.bashrc_local" ] && source "${HOME}/.bashrc_local"
+
diff --git a/.vimrc b/.vimrc
index 58821e18c8fc44a720e1692d18d5ad3bf4926b57..dbd9843e0827e52516e4ecdb8754b56399fc2072 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -51,7 +51,6 @@ set modeline
 set modelines=1
 set so=7
 set wildmenu
-set showcmd
 set nostartofline
 set confirm
 set cmdheight=2