From c971c2a619a0c80afce4bccd95b118b4e97978d9 Mon Sep 17 00:00:00 2001 From: romkatv <roman.perepelitsa@gmail.com> Date: Fri, 6 Dec 2019 10:07:44 +0100 Subject: [PATCH] use simpler patterns in POWERLEVEL9K_DIR_CLASSES examples that don't require extended_glob --- config/p10k-classic.zsh | 4 ++-- config/p10k-lean.zsh | 4 ++-- config/p10k-rainbow.zsh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 4fe11f8a..a671a7a7 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -303,8 +303,8 @@ # Example: # # typeset -g POWERLEVEL9K_DIR_CLASSES=( - # '~/work(/*)#' WORK '(╯°□°)╯︵ ┻━┻' - # '~(/*)#' HOME '⌂' + # '~/work(|/*)' WORK '(╯°□°)╯︵ ┻━┻' + # '~(|/*)' HOME '⌂' # '*' DEFAULT '') # # With these settings, the current directory in the prompt may look like this: diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 4a9e5ce1..89f0a1b2 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -296,8 +296,8 @@ # Example: # # typeset -g POWERLEVEL9K_DIR_CLASSES=( - # '~/work(/*)#' WORK '(╯°□°)╯︵ ┻━┻' - # '~(/*)#' HOME '⌂' + # '~/work(|/*)' WORK '(╯°□°)╯︵ ┻━┻' + # '~(|/*)' HOME '⌂' # '*' DEFAULT '') # # With these settings, the current directory in the prompt may look like this: diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index ffdd4158..a5da8174 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -303,8 +303,8 @@ # Example: # # typeset -g POWERLEVEL9K_DIR_CLASSES=( - # '~/work(/*)#' WORK '(╯°□°)╯︵ ┻━┻' - # '~(/*)#' HOME '⌂' + # '~/work(|/*)' WORK '(╯°□°)╯︵ ┻━┻' + # '~(|/*)' HOME '⌂' # '*' DEFAULT '') # # With these settings, the current directory in the prompt may look like this: