diff options
-rwxr-xr-x | tools/init/load-settings.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/init/load-settings.sh b/tools/init/load-settings.sh index 1c7b65d..86397d6 100755 --- a/tools/init/load-settings.sh +++ b/tools/init/load-settings.sh | |||
@@ -7,7 +7,9 @@ source $SETTING_DIR/alias | |||
7 | [[ -d $SETTING_DIR/private ]] && for f in $SETTING_DIR/private/*; do source $f; done | 7 | [[ -d $SETTING_DIR/private ]] && for f in $SETTING_DIR/private/*; do source $f; done |
8 | 8 | ||
9 | # Config shell | 9 | # Config shell |
10 | shell=$(</proc/$$/cmdline tr -d '\0' | xargs basename) | 10 | |
11 | shell=$(</proc/$$/cmdline tr -d '\0' | tr -d '-') | ||
12 | shell=${shell##*/} | ||
11 | 13 | ||
12 | # fzf | 14 | # fzf |
13 | if which fzf &>/dev/null; then | 15 | if which fzf &>/dev/null; then |