-
-
Notifications
You must be signed in to change notification settings - Fork 776
feat(lib/omb-prompt-base): Add support for OMB_PROMPT_FULL_PATH to pr… #764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
34f77dc
b46d103
33a2066
53c1219
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,10 @@ CLOCK_THEME_PROMPT_SUFFIX='' | |
|
|
||
| THEME_PROMPT_HOST='\H' | ||
|
|
||
| [[ -n $OMB_PROMPT_FULL_PATH ]] \ | ||
| && THEME_PROMPT_WORKDIR='\w' \ | ||
| || THEME_PROMPT_WORKDIR='\W' | ||
|
Comment on lines
+15
to
+16
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CONTRIBUTING.md says that internal variables should be named "
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Other variables in this file are not internal variables, but intended to be set by the user for customization. Otherwise it's strange that the variables always have specific constant values. In addition, while CONTRIBUTING.md says
the code in |
||
|
|
||
| SCM_CHECK=${SCM_CHECK:=true} | ||
|
|
||
| SCM_THEME_PROMPT_DIRTY=' ✗' | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.