Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vcsh-shell
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nik | Klampfradler
vcsh-shell
Commits
52e39c90
Verified
Commit
52e39c90
authored
5 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Enable shortening of directories and VCS branches in zsh.
parent
210af949
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.zshrc
+7
-0
7 additions, 0 deletions
.zshrc
with
7 additions
and
0 deletions
.zshrc
+
7
−
0
View file @
52e39c90
...
...
@@ -40,6 +40,13 @@ if [[ -e /usr/share/powerlevel9k/powerlevel9k.zsh-theme ]]; then
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
=(
os_icon
history
status root_indicator context
dir
vcs virtualenv
)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS
=(
background_jobs
)
POWERLEVEL9K_DIR_SHOW_WRITABLE
=
true
POWERLEVEL9K_SHORTEN_DIR_LENGTH
=
1
POWERLEVEL9K_SHORTEN_DELIMITER
=
POWERLEVEL9K_SHORTEN_STRATEGY
=
truncate_to_unique
POWERLEVEL9K_VCS_SHORTEN_LENGTH
=
4
POWERLEVEL9K_VCS_SHORTEN_MIN_LENGTH
=
11
POWERLEVEL9K_VCS_SHORTEN_STRATEGY
=
truncate_from_right
POWERLEVEL9K_VCS_SHORTEN_DELIMITER
=
..
POWERLEVEL9K_STATUS_OK
=
false
DEFAULT_USER
=
nik
VIRTUAL_ENV_DISABLE_PROMPT
=
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment