updated oh-my-zsh

This commit is contained in:
praful mathur 2011-09-05 09:55:32 -04:00
commit 65d9a48958
3 changed files with 16 additions and 34 deletions

View file

@ -1,24 +1,4 @@
# Push and pop directories on directory stack alias g='grep -in'
alias pu='pushd'
alias po='popd'
# Basic directory operations
alias ...='cd ../..'
alias -- -='cd -'
# Super user
alias _='sudo'
#alias g='grep -in'
# Show history # Show history
alias history='fc -l 1' alias history='fc -l 1'
# List direcory contents
alias lsa='ls -lah'
alias l='ls -la'
alias ll='ls -l'
alias sl=ls # often screw this up
alias afind='ack-grep -il'

View file

@ -19,6 +19,8 @@ bindkey "^[[4~" end-of-line
bindkey ' ' magic-space # also do history expansion on space bindkey ' ' magic-space # also do history expansion on space
bindkey '^[[Z' reverse-menu-complete bindkey '^[[Z' reverse-menu-complete
bindkey '^[[U' backward-kill-line
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~ # Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
bindkey '^?' backward-delete-char bindkey '^?' backward-delete-char
@ -30,17 +32,17 @@ bindkey "\e[3~" delete-char
#bindkey -e ## emacs key bindings #bindkey -e ## emacs key bindings
# #
#bindkey '^[[A' up-line-or-search bindkey '^[[A' up-line-or-search
#bindkey '^[[B' down-line-or-search bindkey '^[[B' down-line-or-search
#bindkey '^[^[[C' emacs-forward-word bindkey '^[^[[C' emacs-forward-word
#bindkey '^[^[[D' emacs-backward-word bindkey '^[^[[D' emacs-backward-word
# #
#bindkey -s '^X^Z' '%-^M' bindkey -s '^X^Z' '%-^M'
#bindkey '^[e' expand-cmd-path bindkey '^[e' expand-cmd-path
#bindkey '^[^I' reverse-menu-complete bindkey '^[^I' reverse-menu-complete
#bindkey '^X^N' accept-and-infer-next-history bindkey '^X^N' accept-and-infer-next-history
#bindkey '^W' kill-region bindkey '^W' kill-region
#bindkey '^I' complete-word bindkey '^I' complete-word
## Fix weird sequence that rxvt produces # Fix weird sequence that rxvt produces
#bindkey -s '^[[Z' '\t' bindkey -s '^[[Z' '\t'
# #

View file

@ -20,7 +20,7 @@ ZSH_THEME="robbyrussell"
# DISABLE_AUTO_TITLE="true" # DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want disable red dots displayed while waiting for completion # Uncomment following line if you want disable red dots displayed while waiting for completion
# DISABLE_COMPLETION_WAITING_DOTS="true" DISABLE_COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)