diff --git a/zsh/README.md b/zsh/README.md index ea4a19f..7bd3fe2 100644 --- a/zsh/README.md +++ b/zsh/README.md @@ -3,32 +3,40 @@ * oh-my-zsh. ([source][1]) * zsh-completions plugin. ([source][2]) -Install & use zsh +## Install + +### ZSH `pacman -S zsh` `chsh -s /bin/zsh` -Install oh-my-zsh +### oh-my-zsh `git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh` -Install zsh-completions plugin +### zsh-completions plugin `git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions` -Create a symlink for `.zshrc` +## Configuration `ln -s ~/.dotfiles/zsh/zshrc ~/.zshrc` +### Custom ZSH config + +`ln -s ~/.dotfiles/zsh/alert.zsh ~/.oh-my-zsh/custom/alert.zsh` + +`ln -s ~/.dotfiles/zsh/steam.zsh ~/.oh-my-zsh/custom/steam.zsh` + +## Obsolete + Create a symlink for `.zlogin` `ln -s ~/.dotfiles/zsh/zlogin ~/.zlogin` -Add .zsh files to ~/.oh-my-zsh/custom - -`ln -s ~/.dotfiles/zsh/alert.zsh ~/.oh-my-zsh/custom/alert.zsh` +Create a symlink for `ssh-agent.zsh` `ln -s ~/.dotfiles/zsh/ssh-agent.zsh ~/.oh-my-zsh/custom/ssh-agent.zsh` diff --git a/zsh/steam.zsh b/zsh/steam.zsh new file mode 100644 index 0000000..53c326f --- /dev/null +++ b/zsh/steam.zsh @@ -0,0 +1 @@ +export STEAM_FRAME_FORCE_CLOSE=1 diff --git a/zsh/zshrc b/zsh/zshrc index 7b0c9bb..95897ea 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -4,8 +4,12 @@ export ZSH=$HOME/.oh-my-zsh # Theme ZSH_THEME="ys" +# Disable updates +DISABLE_UPDATE_PROMPT=true +DISABLE_AUTO_UPDATE=true + # Plugins -plugins=(archlinux common-aliases git sudo web-search ssh-agent) +plugins=(archlinux common-aliases git sudo web-search ssh-agent rust) # look into node/npm # ZSH-Completions @@ -14,8 +18,5 @@ autoload -U compinit && compinit # User configuration export PATH=$HOME/bin:/usr/local/bin:$PATH -# export MANPATH="/usr/local/man:$MANPATH" - -export EDITOR=/usr/bin/vim source $ZSH/oh-my-zsh.sh