diff options
| -rwxr-xr-x | bin/common/gt | 2 | ||||
| -rw-r--r-- | config/essentials/zsh/.zshrc | 28 | 
2 files changed, 16 insertions, 14 deletions
diff --git a/bin/common/gt b/bin/common/gt index b86ccc6..c16623e 100755 --- a/bin/common/gt +++ b/bin/common/gt @@ -8,7 +8,7 @@  repos=$HOME/sync/share/git-track.txt  # prevent file not found errors -touch "$repos" +touch "$repos" || exit 1  help() {  	cat >&2 <<EOF diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 3952cec..878f04d 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -30,19 +30,21 @@ eval "$(starship init zsh)"  eval "$(zoxide init zsh)"  ### Plugins -[ -f "$HOME/.local/share/zap/zap.zsh" ] && source "$HOME/.local/share/zap/zap.zsh" -# plug "MichaelAquilina/zsh-you-should-use" -plug "chivalryq/git-alias" -# plug "marlonrichert/zsh-autocomplete" -plug "zap-zsh/fzf" -plug "zdharma-continuum/fast-syntax-highlighting" -plug "zsh-users/zsh-autosuggestions" -plug "zsh-users/zsh-completions" - -plug "MichaelAquilina/zsh-auto-notify" -export AUTO_NOTIFY_TITLE="zsh" -export AUTO_NOTIFY_BODY="%command [%exit_code]" -AUTO_NOTIFY_IGNORE+=("abduco" "gurk" "ttyper" "pulsemixer" "tmux" "btop" "vis" "clock") +if [ -f "$HOME/.local/share/zap/zap.zsh" ] +then +	. "$HOME/.local/share/zap/zap.zsh" +	# plug "MichaelAquilina/zsh-you-should-use" +	plug "chivalryq/git-alias" +	# plug "marlonrichert/zsh-autocomplete" +	plug "zap-zsh/fzf" +	plug "zdharma-continuum/fast-syntax-highlighting" +	plug "zsh-users/zsh-autosuggestions" +	plug "zsh-users/zsh-completions" +	plug "MichaelAquilina/zsh-auto-notify" +	export AUTO_NOTIFY_TITLE="zsh" +	export AUTO_NOTIFY_BODY="%command [%exit_code]" +	AUTO_NOTIFY_IGNORE+=("abduco" "gurk" "ttyper" "pulsemixer" "tmux" "btop" "vis" "clock") +fi  # Substring search settings  export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=blue,fg=black,bold"  | 
