summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/fishy.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/fishy.zsh-theme b/themes/fishy.zsh-theme
index 5937592dc..83bd455b5 100644
--- a/themes/fishy.zsh-theme
+++ b/themes/fishy.zsh-theme
@@ -5,7 +5,7 @@ _fishy_collapsed_wd() {
BEGIN {
binmode STDIN, ":encoding(UTF-8)";
binmode STDOUT, ":encoding(UTF-8)";
- }; s|^$HOME|~|g; s|/([^/.])[^/]*(?=/)|/$1|g; s|/\.([^/])[^/]*(?=/)|/.$1|g;
+ }; s|^$ENV{HOME}|~|g; s|/([^/.])[^/]*(?=/)|/$1|g; s|/\.([^/])[^/]*(?=/)|/.$1|g
')
}