Merge pull request #3 from qrush/717cf442b071a715b097c7504926b30ad2bdaf36
Split out aliases. Add three ls aliases and some cd improvements.
This commit is contained in:
commit
8bc7328922
2 changed files with 16 additions and 2 deletions
3
aliases
3
aliases
|
@ -13,6 +13,9 @@ alias be="bundle exec"
|
|||
alias ln='ln -v'
|
||||
alias mkdir='mkdir -p'
|
||||
alias ...='../..'
|
||||
alias l='ls'
|
||||
alias ll='ls -al'
|
||||
alias lh='ls -Alh'
|
||||
|
||||
alias -g G='| grep'
|
||||
alias -g M='| less'
|
||||
|
|
15
zshrc
15
zshrc
|
@ -43,8 +43,8 @@ export PS1='[${SSH_CONNECTION+"%n@%m:"}%~] '
|
|||
# ignore duplicate history entries
|
||||
setopt histignoredups
|
||||
|
||||
# keep more history
|
||||
export HISTSIZE=1000
|
||||
# keep TONS of history
|
||||
export HISTSIZE=4096
|
||||
|
||||
# look for ey config in project dirs
|
||||
export EYRC=./.eyrc
|
||||
|
@ -52,3 +52,14 @@ export EYRC=./.eyrc
|
|||
# automatically pushd
|
||||
setopt auto_pushd
|
||||
export dirstacksize=5
|
||||
|
||||
# awesome cd movements from zshkit
|
||||
setopt AUTOCD
|
||||
setopt AUTOPUSHD PUSHDMINUS PUSHDSILENT PUSHDTOHOME
|
||||
setopt cdablevars
|
||||
|
||||
# Try to correct command line spelling
|
||||
setopt CORRECT CORRECT_ALL
|
||||
|
||||
# Enable extended globbing
|
||||
setopt EXTENDED_GLOB
|
||||
|
|
Loading…
Add table
Reference in a new issue