aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2019-06-02 10:47:11 +0300
committerGitHub <noreply@github.com>2019-06-02 10:47:11 +0300
commit8b040d4cfd1657df3dc378ac3940f6727244daaf (patch)
treefea90b6109b18cc1b24a731a9fd59df0f9ae3636 /internal
parent5e72d3ca80ef05b8078850992f6c6680a39c5a6e (diff)
add '.terraform' to POWERLEVEL9K_SHORTEN_FOLDER_MARKER
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index eef6da58..423083b5 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -808,7 +808,7 @@ prompt_dir() {
local -i d=_P9K_RETVAL
shortenlen=${POWERLEVEL9K_SHORTEN_DIR_LENGTH:-1}
(( shortenlen >= 0 )) && n=shortenlen
- local pat=${POWERLEVEL9K_SHORTEN_FOLDER_MARKER-'(.bzr|CVS|.git|.hg|.svn|.citc)'}
+ local pat=${POWERLEVEL9K_SHORTEN_FOLDER_MARKER-'(.bzr|CVS|.git|.hg|.svn|.terraform|.citc)'}
local parent="${PWD%/${(pj./.)parts[i,-1]}}"
for (( ; i <= $#parts - n; ++i )); do
local dir=$parts[i]