diff options
author | Shawn M Moore <sartak@gmail.com> | 2007-09-09 13:54:42 -0500 |
---|---|---|
committer | Shawn M Moore <sartak@gmail.com> | 2007-09-09 13:54:42 -0500 |
commit | b963ebc792521f305d2400febd330b46680c577f (patch) | |
tree | 572ea8d94d6c79398a5680dd22004e4a231879f7 /zshrc | |
parent | 6a699af3606b3ab5a50675448ec0a1c03633cae1 (diff) | |
download | conf-b963ebc792521f305d2400febd330b46680c577f.tar.gz conf-b963ebc792521f305d2400febd330b46680c577f.zip |
Get rid of empty lines between folds
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -4,11 +4,9 @@ promptinit prompt adam2 gray yellow green white RPS1='[%*]' # }}} - # use completion cache {{{ zstyle ':completion::complete:*' use-cache 1 # }}} - # history {{{ HISTFILE=$HOME/.history HISTSIZE=100000 @@ -17,7 +15,6 @@ setopt extended_history setopt share_history setopt hist_ignore_space # }}} - # miscellaneous options {{{ setopt correctall # yes it's annoying. but only half the time setopt nobeep # I hates the beeps @@ -30,8 +27,7 @@ setopt no_nomatch setopt interactivecomments # Allow comments even in the interactive shell setopt listpacked # column width doesn't have to be constant # }}} - -# Bindkeys {{{ +# key bindings {{{ bindkey -v # Use vim bindings bindkey "^A" beginning-of-line # Like in bash, for memory bindkey "^E" end-of-line # Like in bash @@ -44,32 +40,27 @@ bindkey "^Z" accept-and-hold # Enter and push line bindkey " " magic-space # Expands from hist (!vim ) bindkey "\e[3~" delete-char # Enable delete # }}} - # stuff we don't want to correct {{{ alias mkdir='nocorrect mkdir' alias mv='nocorrect mv' alias cp='nocorrect cp' # }}} - # replace default utilities {{{ alias man="man -P vimmanpager" #alias top="htop" # }}} - # add color to some things {{{ alias ls='ls -G' alias ll='ls -lhA' alias ack='ack --color' # see also ~/.zshenv # }}} - # telnet services (nao, termcast, etc) {{{ alias nao="(TERM='rxvt'; telnet nethack.alt.org)" alias cao="telnet crawl.akrasiac.org" alias termcast="telnet noway.ratry.ru 37331" alias sporkhack='telnet nethack.nineball.org' # }}} - # shell accounts {{{ alias katron="ssh katron.org" alias arcane="ssh 66.41.105.165" @@ -79,13 +70,11 @@ alias diesel="ssh diesel.bestpractical.com" alias rax="ssh sartak.org" alias home='ssh $HOMEIP' # }}} - # shortcuts {{{ alias starcraft="cd /home/sartak/.wine/drive_c/Program\ Files/Starcraft && sudo wine StarCraft.exe" alias i='sudo apt-get install' alias ci='sudo cpan -i' # }}} - # darcs shortcuts {{{ alias dwn="darcs whatsnew" alias darcsify="darcs init && darcs add \$(darcs whatsnew -ls | awk '/^a\ / {print \$2}') && darcs record -a -m'Initial import'" @@ -97,7 +86,6 @@ alias dar="darcs amend-record" alias db="darcs revert" alias dqm="darcs query manifest" # }}} - # work shortcuts {{{ alias rtp='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo prove -l -I/opt/rt3/local/lib' alias rtpv='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postgres RT_DBA_PASSWORD='' sudo perl -Ilib -I/opt/rt3/local/lib' @@ -106,7 +94,6 @@ alias grmt='PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB RT_DBA_USER=postg alias unrt="ps aux -ww | grep standalone | sudo perl -lane 'system(qq{kill \$F[1]})'" alias rert="unrt && sudo make start-httpd" # }}} - # global shortcuts (don't need to be in the command position) {{{ alias -g L='|less' alias -g G='|egrep' |