diff options
Diffstat (limited to 'configs/shared/zsh/functions.zsh')
-rw-r--r-- | configs/shared/zsh/functions.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/shared/zsh/functions.zsh b/configs/shared/zsh/functions.zsh index 815d90aefd85..3bf892355a92 100644 --- a/configs/shared/zsh/functions.zsh +++ b/configs/shared/zsh/functions.zsh @@ -9,7 +9,7 @@ fv() { tbz() { # Toggle between blaze-bin and your source. # Useful if you like to cd into the dir where your source lives. - if [[ $PWD =~ '(.*)/blaze-bin(.*)' ]]; then + if [[ "$(pwd)" =~ '(.*)/blaze-bin(.*)' ]]; then cd "${match[1]}${match[2]}" else cd "${PWD/\/google3//google3/blaze-bin}" |