1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Add zsh configuration.

This commit is contained in:
Bert Peters
2015-03-20 15:08:57 +01:00
parent b98b8cde12
commit ca8a1523e2
2 changed files with 26 additions and 0 deletions

View File

@@ -41,5 +41,14 @@ echo "Installing vim."
confirmAndLink $DIR/vim/vimrc $HOME/.vimrc confirmAndLink $DIR/vim/vimrc $HOME/.vimrc
confirmAndLink $DIR/vim $HOME/.vim confirmAndLink $DIR/vim $HOME/.vim
echo "Installing zsh"
if [ ! -e $HOME/.oh-my-zsh ]
then
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
rm $HOME/.zshrc
else
confirmAndLink $DIR/zshrc $HOME/.zshrc
fi
echo "Installation finished." echo "Installation finished."

17
zshrc Normal file
View File

@@ -0,0 +1,17 @@
# Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh
export EDITOR=vim
ZSH_THEME="clean"
plugins=(git git-extras composer common-aliases colorize npm svn tmux ubuntu sudo command-not-found python last-working-dir jsontools bower)
# User configuration
ZSH_TMUX_AUTOSTART=true
export PATH="/vol/share/software/gcc/4.8.2/bin:/vol/share/software/texlive/2013/bin/x86_64-linux:/vol/home/s1147919/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
source $ZSH/oh-my-zsh.sh
# If I mean interactive, I will tell you.
unalias rm