@ -45,6 +45,18 @@ If you just name a path, the shell will assume you intended to change directorie
ajohnson@helios:~ % git/zsh
ajohnson@helios:~ % git/zsh
ajohnson@helios:~/git/zsh [add_readme]%
ajohnson@helios:~/git/zsh [add_readme]%
```
```
#### SHOW_NZ_EXIT
This option will display exit codes of the previous command at the beginning of your prompt, but only when the exit code is non-zero. If the previous command returns 0, then your prompt will not show any exit code.
```
ajohnson@helios:~ %
ajohnson@helios:~ % true
ajohnson@helios:~ % false
1:ajohnson@helios:~ %
1:ajohnson@helios:~ % true
ajohnson@helios:~ %
ajohnson@helios:~ % zsh -c "exit 42"
42:ajohnson@helios:~ %
```
#### cd Search and Replace
#### cd Search and Replace
You can substitute one word for another in your current working directory by using the cd syntax:
You can substitute one word for another in your current working directory by using the cd syntax:
```
```
@ -64,7 +76,6 @@ ajohnson@helios:~/git/heatbot [rewrite]% git checkout dev