mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
allow optional offset in POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER; see #896
This commit is contained in:
@@ -247,6 +247,11 @@
|
||||
# /foo/bar/git_repo/nested_git_repo/baz, prompt will display git_repo/nested_git_repo/baz (first)
|
||||
# or nested_git_repo/baz (last). This assumes that git_repo and nested_git_repo contain markers
|
||||
# and other directories don't.
|
||||
#
|
||||
# Optionally, "first" and "last" can be followed by ":<offset>" where <offset> is an integer.
|
||||
# This moves the truncation point to the right (positive offset) or to the left (negative offset)
|
||||
# relative to the marker. Plain "first" and "last" are equivalent to "first:0" and "last:0"
|
||||
# respectively.
|
||||
typeset -g POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=false
|
||||
# Don't shorten this many last directory segments. They are anchors.
|
||||
typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
|
||||
|
||||
@@ -241,6 +241,11 @@
|
||||
# /foo/bar/git_repo/nested_git_repo/baz, prompt will display git_repo/nested_git_repo/baz (first)
|
||||
# or nested_git_repo/baz (last). This assumes that git_repo and nested_git_repo contain markers
|
||||
# and other directories don't.
|
||||
#
|
||||
# Optionally, "first" and "last" can be followed by ":<offset>" where <offset> is an integer.
|
||||
# This moves the truncation point to the right (positive offset) or to the left (negative offset)
|
||||
# relative to the marker. Plain "first" and "last" are equivalent to "first:0" and "last:0"
|
||||
# respectively.
|
||||
typeset -g POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=false
|
||||
# Don't shorten this many last directory segments. They are anchors.
|
||||
typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
|
||||
|
||||
@@ -241,6 +241,11 @@
|
||||
# /foo/bar/git_repo/nested_git_repo/baz, prompt will display git_repo/nested_git_repo/baz (first)
|
||||
# or nested_git_repo/baz (last). This assumes that git_repo and nested_git_repo contain markers
|
||||
# and other directories don't.
|
||||
#
|
||||
# Optionally, "first" and "last" can be followed by ":<offset>" where <offset> is an integer.
|
||||
# This moves the truncation point to the right (positive offset) or to the left (negative offset)
|
||||
# relative to the marker. Plain "first" and "last" are equivalent to "first:0" and "last:0"
|
||||
# respectively.
|
||||
typeset -g POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=false
|
||||
# Don't shorten this many last directory segments. They are anchors.
|
||||
typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
|
||||
|
||||
@@ -247,6 +247,11 @@
|
||||
# /foo/bar/git_repo/nested_git_repo/baz, prompt will display git_repo/nested_git_repo/baz (first)
|
||||
# or nested_git_repo/baz (last). This assumes that git_repo and nested_git_repo contain markers
|
||||
# and other directories don't.
|
||||
#
|
||||
# Optionally, "first" and "last" can be followed by ":<offset>" where <offset> is an integer.
|
||||
# This moves the truncation point to the right (positive offset) or to the left (negative offset)
|
||||
# relative to the marker. Plain "first" and "last" are equivalent to "first:0" and "last:0"
|
||||
# respectively.
|
||||
typeset -g POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=false
|
||||
# Don't shorten this many last directory segments. They are anchors.
|
||||
typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
|
||||
|
||||
Reference in New Issue
Block a user