diff options
author | Blubber <f2005278@mvrht.com> | 2016-10-16 21:19:39 +0200 |
---|---|---|
committer | Blubber <f2005278@mvrht.com> | 2016-10-16 21:19:39 +0200 |
commit | da1f32b89d0dc9a68539dd9817cc1a669d46ebca (patch) | |
tree | e107615ac4ed350b3532ce49f44f9380a5d53646 /bashrc | |
parent | 6ed2bbe6656261f40deeb1a524080f24b25185eb (diff) | |
download | dotfiles-da1f32b89d0dc9a68539dd9817cc1a669d46ebca.tar.gz dotfiles-da1f32b89d0dc9a68539dd9817cc1a669d46ebca.zip |
refactored bash settings
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 43 |
1 files changed, 43 insertions, 0 deletions
@@ -0,0 +1,43 @@ +# dotfiles -- bashrc +# author: johannst + + +#{{{ general bash settings + +export TERM=xterm-256color + +# disable sticky mode +stty -ixon + +#}}} +#{{{ alias + +alias ls='ls --color=auto -h' +alias ll='ls -alF' +alias la='ls -AF' +alias grep='grep --color=auto' + +#}}} +#{{{ color definition + +BCol_NoColor='\e[m' +BCol_DarkRed='\e[38;5;88m' +BCol_DarkOrange='\e[38;5;202m' +BCol_LightOrange='\e[38;5;208m' +BCol_LightGray='\e[38;5;7m' +BCol_Yellow='\e[38;5;226m' +BCol_LightBlue='\e[38;5;74m' +BCol_BlueGray='\e[38;5;67m' +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} " + +#}}} +#{{{ ls colors + +export LS_COLORS='di=34:ln=96:or=4;96;41:so=0:pi=0:ex=01;92:bd=0;42:cd=0;42:su=0:sg=0:tw=30;44:ow=30;44' + +#}}} |