From 7ac2f905710b34d915293bc6512b7b481d88b94f Mon Sep 17 00:00:00 2001 From: Nick Quaranto Date: Mon, 4 Apr 2011 10:25:39 -0400 Subject: [PATCH 1/2] Add ls aliases --- aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aliases b/aliases index 1a1d177..bcb5f49 100644 --- a/aliases +++ b/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' From 717cf442b071a715b097c7504926b30ad2bdaf36 Mon Sep 17 00:00:00 2001 From: Nick Quaranto Date: Mon, 4 Apr 2011 10:26:18 -0400 Subject: [PATCH 2/2] add in zshkit fun stuff --- zshrc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 977b155..6887ff6 100644 --- a/zshrc +++ b/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