all: simplify and prettify
This commit is contained in:
5
zshrc
5
zshrc
@@ -38,6 +38,7 @@ export CARP_DIR=$GH_HOME/carp/Carp/
|
||||
export EDITOR=/usr/local/bin/vim
|
||||
alias dob="git branch --merged | grep -vE '(\*)|(master)|(dev)' | xargs -n 1 git branch -d"
|
||||
alias vi="stty stop '' -ixoff ; stty erase '^?'; vim"
|
||||
alias em="/usr/local/bin/emacs"
|
||||
alias mk="make"
|
||||
alias g="git"
|
||||
alias virtualenv2="python2.7 /usr/local/lib/python2.7/site-packages/virtualenv.py"
|
||||
@@ -57,7 +58,7 @@ alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo
|
||||
alias loc="cloc --read-lang-def=/Users/veitheller/.scripts/cloc.txt *"
|
||||
alias ls="ls -a"
|
||||
alias pbclear="echo -n '' | pbcopy"
|
||||
PROMPT="%{$fg[red]%}%n%{$fg[white]%} at %{$fg[green]%}%m%{$fg[white]%}"$'\n'"=> "
|
||||
PROMPT="%{$fg[red]%}%n%{$reset_color%} at %{$fg[green]%}%m%{$reset_color%}"$'\n'"=> "
|
||||
|
||||
expand-or-complete-with-dots(){
|
||||
echo -n "e[31m.....\e[0m"
|
||||
@@ -108,7 +109,7 @@ function rprompt-git-current-branch {
|
||||
}
|
||||
|
||||
RPROMPT='`rprompt-git-current-branch`'
|
||||
RPROMPT+="%{$fg[white]%}in %{$fg[yellow]%}%~%{$reset_color%}"
|
||||
RPROMPT+="%{$reset_color%}in %{$fg[yellow]%}%~%{$reset_color%}"
|
||||
|
||||
save_dotfiles(){
|
||||
local DOTPATH=~/Documents/Code/Github/.dotfiles/
|
||||
|
Reference in New Issue
Block a user