From bd2e6c2e402dc8bdf2fdfd15217dc6e8024a129d Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sun, 21 Nov 2021 19:53:47 -0800 Subject: [PATCH] zsh: formatting and allow code placed after the final line to execute --- .zshrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.zshrc b/.zshrc index 74cfc27..8b30892 100644 --- a/.zshrc +++ b/.zshrc @@ -772,16 +772,16 @@ save_working_dir() { autoload -U add-zsh-hook add-zsh-hook chpwd save_working_dir -load_working_dir && - cd - > /dev/null +load_working_dir && cd - > /dev/null + +# Case insensitive globbing (fix for termux) +[ -n "$TERMUX_VERSION" ] && setopt nocaseglob -[ -n "$TERMUX_VERSION" ] && - setopt nocaseglob # Case insensitive globbing (fix for termux) # <<< # <<< # Optionally source the user's customized .zshrc -[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshrc.local" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshrc.local" || return 0 +[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshrc.local" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshrc.local" || true # vim:fdm=marker:fmr=>>>,<<<:et:ft=sh:sw=3