Added aliases and zepto vim plugin

This commit is contained in:
hellerve
2015-05-26 15:58:01 +02:00
parent 7a99761a4b
commit 2ccd399f1e
5 changed files with 506 additions and 1 deletions

3
zshrc
View File

@@ -69,6 +69,7 @@ alias tmv="tmux split-window"
alias tmh="tmux split-window -h"
alias tms="tmux select-pane -t"
alias tmk="killall tmux; tmux"
alias emacs="/usr/local/Cellar/emacs/24.5/Emacs.app/Contents/MacOS/Emacs -nw"
PROMPT="%{$fg[green]%}<%{$fg[red]%}%n%{$reset_color%}@%{$fg[green]%}%m%{$fg[green]%}>%{$reset_color%} "
expand-or-complete-with-dots(){
@@ -400,7 +401,7 @@ fi
function zeptosay () {
x=`fortune`
x="(begin (load \"ascii.scm\") (cowsay \"$x\"))"
x="(begin (load \"ascii.scm\") (cowsay \"${(q)x}\"))"
zepto --single $x
}