mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 05:49:26 +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
@ -97,7 +97,9 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
|
||||
# Auto set to 'off' on dumb terminals.
|
||||
zstyle ':prezto:module:prompt' theme 'sorin'
|
||||
|
||||
# Set how themes that use promptpwd function display the pwd, can be 'short', 'long', or 'full'
|
||||
# Set the working directory prompt display length.
|
||||
# By default, it is set to 'short'. Set it to 'long' (without '~' expansion)
|
||||
# for longer or 'full' (with '~' expansion) for even longer prompt display.
|
||||
# zstyle ':prezto:module:prompt' pwd-length 'short'
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user