Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Path to your oh-my-zsh installation.
- export ZSH=/home/kromm/.oh-my-zsh
- # Set name of the theme to load.
- # Look in ~/.oh-my-zsh/themes/
- # Optionally, if you set this to "random", it'll load a random theme each
- # time that oh-my-zsh is loaded.
- ZSH_THEME="agnoster"
- # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
- # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
- # Example format: plugins=(rails git textmate ruby lighthouse)
- # Add wisely, as too many plugins slow down shell startup.
- plugins=(git)
- # User configuration
- source $ZSH/oh-my-zsh.sh
- alias gst="git status"
- alias gcm="git commit"
- alias gdi="git diff"
- alias bp="beep -f 40 -l 50"
- alias E="exit"
- alias N="nvlc *"
- alias K="kolourpaint"
- autoload -U promptinit
- promptinit
- prompt adam2
- setopt prompt_subst
- autoload -Uz vcs_info
- zstyle ':vcs_info:*' actionformats \
- '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
- zstyle ':vcs_info:*' formats \
- '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f '
- zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
- zstyle ':vcs_info:*' enable git cvs svn
- vcs_info_wrapper() {
- vcs_info
- if [ -n "$vcs_info_msg_0_" ]; then
- echo "[$(basename `git rev-parse --show-toplevel`)] ${vcs_info}%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del"
- fi
- }
- RPROMPT=$'$(vcs_info_wrapper)'
- bindkey '\e.' insert-last-word
- setopt histignorespace
- alias mdate="date +\"%Y-%m-%d %H:%M\""
- fpath+=~/.zfunc
- compinit
- export SHELL=/usr/bin/zsh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement