Skip to content

Commit

Permalink
adding some "dir" conveniences.
Browse files Browse the repository at this point in the history
- Directories are automatically "pushd" upon a cd.  
- remove the need to type cd.  all you need is the dirname
  • Loading branch information
bryanl committed Apr 1, 2009
1 parent 351c41d commit 6f2ff02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 98_cd
@@ -0,0 +1,7 @@
# where have we been?
DIRSTACKSIZE=8
setopt autopushd pushdminus pushdsilent pushdtohome
alias dh='dirs -v'

# cd for the lazy
setopt auto_cd

0 comments on commit 6f2ff02

Please sign in to comment.