This commit is contained in:
Bartek Stalewski 2016-06-03 14:09:32 +02:00
parent 8623a4595f
commit 1f43dd5b6b
3 changed files with 2 additions and 20 deletions

View File

@ -25,18 +25,9 @@ cd ~/.dotfiles
## zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
mkdir ~/.oh-my-zsh/custom/themes
cp ~/.dotfiles/zshrc.powerlevel ~/.zshrc.powerlevel
cd ~/.oh-my-zsh/custom/themes
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
sed -i -e 's,ZSH_THEME="robbyrussell",ZSH_THEME="powerlevel9k/powerlevel9k" \&\& source ~/.zshrc.powerlevel,' ~/.zshrc
sed -i -e 's,ZSH_THEME="robbyrussell",ZSH_THEME="agnoster"' ~/.zshrc
sed -i -e 's/# CASE_SENSITIVE/CASE_SENSITIVE/' ~/.zshrc
#case `uname` in
# Linux) echo 'eval $( dircolors -b ~/.dotfiles/dircolors/dircolors.ansi-universal ) ' >> ~/.zshrc ;;
# Darwin) echo 'eval $( gdircolors -b ~/.dotfiles/dircolors/dircolors.ansi-universal ) ' >> ~/.zshrc ;;
#esac
echo "zstyle ':vcs_info:*' enable hg bzr git svn" >> ~/.zshrc
echo 'ZSH_THEME="powerlevel9k/powerlevel9k" && source ~/.zshrc.powerlevel' >> ~/.zshrc
echo "[ -e ~/.zshrc.local ] && source ~/.zshrc.local" >> ~/.zshrc
source ~/.zshrc

@ -1 +1 @@
Subproject commit 4ebbb533c3faf2c480211db2b547972bb3b60f2b
Subproject commit 15445be5fb2559829ac7a1f05af5d713586e8ec9

View File

@ -1,9 +0,0 @@
export DEFAULT_USER=$LOGNAME
POWERLEVEL9K_MODE='awesome-patched'
POWERLEVEL9K_COLOR_SCHEME='dark'
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(time aws context dir rbenv vcs background_jobs status)
POWERLEVEL9K_DISABLE_RPROMPT=true
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
POWERLEVEL9K_STATUS_VERBOSE=false
POWERLEVEL9K_SHOW_CHANGESET=true
POWERLEVEL9K_CHANGESET_HASH_LENGTH=6