mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-08-04 05:09:25 +00:00
[prompt] Rename helper function promptpwd
to prompt-pwd
for consistency
Changes: * In prezto, function names are hyphenated ('-') by convention, rename `promptpwd` to `prompt-pwd` accordingly. * Unset local variable `current_pwd` proactively. * Tweak additional documentation for `prompt-pwd`.
This commit is contained in:
committed by
Indrajit Raychaudhuri
parent
ac628c9059
commit
17a59bada7
@ -26,6 +26,14 @@ in *zpreztorc*.
|
||||
zstyle ':prezto:module:prompt' pwd-length 'short'
|
||||
```
|
||||
|
||||
### Prompt Display Length
|
||||
|
||||
To change working directory prompt display length from 'short', set the
|
||||
following to 'long' (without '~' expansion) or 'full' (with '~' expansion)
|
||||
in *zpreztorc*.
|
||||
|
||||
zstyle ':prezto:module:prompt' pwd-length 'short'
|
||||
|
||||
Theming
|
||||
-------
|
||||
|
||||
|
Reference in New Issue
Block a user