Commit graph

2 commits

Author SHA1 Message Date
Zoey Llewellyn Hewll
b3a2a7bfeb Ensure 'full' pwd-length always expands '~'
Prompt-pwd's 'full' option always expands '~', as opposed to only
expanding when '~' would be followed by other directories.
This means the path is always in a consistent format, rather than
alternating between expanded and condensed.
2017-10-01 12:49:07 +08:00
Indrajit Raychaudhuri
17a59bada7 [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`.
2017-07-22 13:13:00 -05:00
Renamed from modules/prompt/functions/promptpwd (Browse further)