diff options
-rwxr-xr-x | bin/common/gt | 2 | ||||
-rw-r--r-- | config/essentials/zsh/.zshrc | 29 |
2 files changed, 17 insertions, 14 deletions
diff --git a/bin/common/gt b/bin/common/gt index c679b23..5bcc7c3 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() { >&2 cat <<EOF diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 5981fd9..a38a359 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -30,19 +30,22 @@ 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+=("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+=("gurk" "ttyper" "pulsemixer" "tmux" "btop" "vis" "clock") +fi # Substring search settings export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=blue,fg=black,bold" |