From 7526a5530b6bd947f32e039d9b7b094ff54c8254 Mon Sep 17 00:00:00 2001 From: druckdev <63563978+druckdev@users.noreply.github.com> Date: Thu, 25 Jun 2020 23:54:53 +0200 Subject: [PATCH] Keep variable local --- .config/zsh/plugins/functionsPre.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/plugins/functionsPre.zsh b/.config/zsh/plugins/functionsPre.zsh index 9715074..b475b7a 100644 --- a/.config/zsh/plugins/functionsPre.zsh +++ b/.config/zsh/plugins/functionsPre.zsh @@ -23,7 +23,7 @@ function _nemo_wd_default() { ## or if we are in a directory that matches the regex in LS_SHOW_ALL_DIRS function _ls_show_hidden() { # Can be overwritten by settings it before calling - LS_SHOW_ALL_DIRS=${LS_SHOW_ALL_DIRS:-"dotfiles|\.config"} + local LS_SHOW_ALL_DIRS=${LS_SHOW_ALL_DIRS:-"dotfiles|\.config"} # if a path is given, target will contain the given directory or the directory in which the # given file is located