diff options
author | johannst <stoelp@eit.uni-kl.de> | 2017-01-21 15:52:06 +0100 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2017-01-21 15:52:06 +0100 |
commit | cadd11e2e72c9869c9d4d02b99018f757ec082a6 (patch) | |
tree | 01e8fc8a3db8b185fd36d645efad67f588b0369d | |
parent | ed06e97323f671e875802b768fb014d6f1f1e87c (diff) | |
download | dotfiles-cadd11e2e72c9869c9d4d02b99018f757ec082a6.tar.gz dotfiles-cadd11e2e72c9869c9d4d02b99018f757ec082a6.zip |
minor fixes
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | bashrc | 3 | ||||
-rwxr-xr-x | install | 6 |
3 files changed, 6 insertions, 4 deletions
@@ -1 +1,2 @@ .cgdb/readline_history.txt +*.swp @@ -20,6 +20,7 @@ bind -m vi-command 'Control-a:beginning-of-line' bind -m vi-command 'Control-e:end-of-line' bind -m vi-insert 'Control-a:beginning-of-line' bind -m vi-insert 'Control-e:end-of-line' +bind -m vi-command '"v":""' # disable opening tmp file #}}} #{{{ alias @@ -45,7 +46,7 @@ BCol_YellowOrange='\e[38;5;214m' #}}} #{{{ bash prompt -export PS1="\[${BCol_DarkRed}\]::\[${BCol_DarkOrange}\]\u\[${BCol_DarkRed}\]::\[${BCol_LightOrange}\]\H\[${BCol_LightGray}\] - \[${BCol_Yellow}\]\t\[${BCol_LightGray}\] - \[${BCol_LightBlue}\]\w\n\[${BCol_NoColor}\][\[${BCol_YellowOrange}\]$?\[${BCol_NoColor}\]] \[${BCol_BlueGray}\]>>\[${BCol_NoColor}\] " +export PS1="\[${BCol_DarkRed}\]::\[${BCol_DarkOrange}\]\u\[${BCol_DarkRed}\]::\[${BCol_LightOrange}\]\H\[${BCol_LightGray}\] - \[${BCol_Yellow}\]\t\[${BCol_LightGray}\] - \[${BCol_LightBlue}\]\w\n\[${BCol_NoColor}\][\[${BCol_YellowOrange}\]\${?}\[${BCol_NoColor}\]] \[${BCol_BlueGray}\]>>\[${BCol_NoColor}\] " #}}} #{{{ ls colors @@ -103,14 +103,14 @@ function xtermConfigInstaller() { function main() { # parse gInstallConfigFile to see what should be installed - configToInstall=() + local configToInstall=() while read line; do if [[ ! $line =~ ^[yYnN][[:blank:]]?- ]]; then continue fi - flag=$(echo $line | cut -d '-' -f 1 | sed 's/ //g') + local flag=$(echo $line | cut -d '-' -f 1 | sed 's/ //g') if [[ $flag =~ ^[yY]$ ]]; then - config=$(echo $line | cut -d '-' -f 2 | sed 's/ //g') + local config=$(echo $line | cut -d '-' -f 2 | sed 's/ //g') configToInstall+=("$config") fi done < $gInstallConfigFile |