changes, changes...

This commit is contained in:
Armin 2015-03-30 06:09:38 +02:00
commit 4efefc519b
2 changed files with 24 additions and 5 deletions

8
lib/powerline/pad Normal file
View file

@ -0,0 +1,8 @@
colours=(250 60 152 32)
prompt_context_user_fg="${colours[1]}"
prompt_context_user_bg="${colours[2]}"
prompt_context_root_fg="${colours[3]}"
prompt_context_root_bg="${colours[4]}"

21
zshrc
View file

@ -8,6 +8,10 @@ ZSH="$HOME/.zsh"
# export ZSH_THEME="powerline" # name of zsh theme
export ZSH_THEME="powerline-with-hostname" # name of zsh theme
if [[ "$TERM" == "linux" ]]; then
export ZSH_THEME=ezzsh
fi
# Set this to true to use case-sensitive completion
CASE_SENSITIVE="false" # bool
@ -185,10 +189,16 @@ alias grep='grep --color=auto'
# enable ls colorization:
if [ "$TERM" != "dumb" ]; then
if [[ "$dircolors_enable" == 1 ]]; then
eval "$(dircolors "$ZSH"/dircolors)"
alias ls="$LS_COMMAND $LS_OPTIONS"
fi
#if [[ "$dircolors_enable" == 1 ]]; then
# eval "$(dircolors "$ZSH"/dircolors)"
# alias ls="$LS_COMMAND $LS_OPTIONS"
#fi
alias ls="$LS_COMMAND $LS_OPTIONS"
fi
# Fix for KDEs stupid Konsole program
if [[ $KONSOLE_PROFILE_NAME ]]; then
export TERM=xterm-256color
fi
# do not autocorrect sudo commands (fixes "zsh: correct 'vim' to '.vim' [nyae]?")
@ -203,6 +213,7 @@ alias less='less -R'
alias diff='colordiff'
set modeline
alias s="sudo -s -E"