This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## ZSH Options | |
| # http://zsh.sourceforge.net/Doc/Release/Options.html | |
| # Changing Directories | |
| # http://zsh.sourceforge.net/Doc/Release/Options.html#Changing-Directories | |
| setopt auto_cd # if a command isn't valid, but is a directory, cd to that dir | |
| setopt auto_pushd # make cd push the old directory onto the directory stack | |
| setopt pushd_ignore_dups # don’t push multiple copies of the same directory onto the directory stack | |
| setopt pushd_minus # exchanges the meanings of ‘+’ and ‘-’ when specifying a directory in the stack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FILE SPACING: | |
| # double space a file | |
| sed G | |
| # double space a file which already has blank lines in it. Output file | |
| # should contain no more than one blank line between lines of text. | |
| sed '/^$/d;G' |