We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/long/long/long/long/long/long/path -> .../long/path
/long/long/long/long/long/long/path
.../long/path
Start lines -
xontrib-prompt-bar/xontrib/prompt_bar.py
Lines 151 to 152 in fce5308
The text was updated successfully, but these errors were encountered:
Example:
$PROMPT_FIELDS['cwd4'] = lambda: str(Path(*Path(__xonsh__.env['PROMPT_FIELDS']['cwd']()).expanduser().parts[-4:])) $XONTRIB_PROMPT_BAR_LEFT = '{hostname#nolocal}{user#nolocal}{cwd4#accent}' xontrib load prompt_bar
Sorry, something went wrong.
No branches or pull requests
/long/long/long/long/long/long/path
->.../long/path
Start lines -
xontrib-prompt-bar/xontrib/prompt_bar.py
Lines 151 to 152 in fce5308
The text was updated successfully, but these errors were encountered: