Mercurial > hg > zsh-env
comparison zshrc @ 21:ee88f708d3ce
turn of adding stuff to the directory stack automatically
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 30 Jan 2012 12:07:35 +0100 |
parents | f5c6324fc952 |
children | 8d30bd0d3a50 |
comparison
equal
deleted
inserted
replaced
20:e13dca4c3fb6 | 21:ee88f708d3ce |
---|---|
36 setopt hist_ignore_all_dups | 36 setopt hist_ignore_all_dups |
37 | 37 |
38 # get rid of the silly "zsh: sure you want to delete all the files in ..." message | 38 # get rid of the silly "zsh: sure you want to delete all the files in ..." message |
39 unsetopt normstarsilent | 39 unsetopt normstarsilent |
40 | 40 |
41 # turn of the "helpful" zsh feature of pushing each directory to the dir stack on cd | |
42 unsetopt autopushd | |
43 | |
41 # utility function that is used by various other modules | 44 # utility function that is used by various other modules |
42 removeFromPath() { | 45 removeFromPath() { |
43 search_term="$1" | 46 search_term="$1" |
44 split_path=(${(s/:/)PATH}) | 47 split_path=(${(s/:/)PATH}) |
45 clean_path="" | 48 clean_path="" |