1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
Zoey Hewll
d337b2a674
Merge 2afa8e43ae into 9195b66161 2024-06-12 20:07:48 +00:00
John P. Neumann
5566a9c792
Resolves 1641 - Checks whether the prompt is set to be managed or not. ()
This is a new variable that will need to be set on all new prompts and
is not backwards compatible with custom prompts that are not prezto
managed, but use prezto's editor-info functionality. Updated the
README.md with additional information for themes.
2019-07-25 17:14:43 -05:00
Zoey Llewellyn Hewll
2afa8e43ae Add pwd-length option 'tail'
This option makes `prompt-pwd` only show the last directory in the path,
for minimalist prompts
2017-10-01 12:49:07 +08:00
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)