summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-07-01 01:13:43 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-07-01 01:13:43 +0200
commitfecb6306631aaec1774497093b7da44ab5950d92 (patch)
tree58ff75a024f0fcbfaab6f2f31401db8322cd5c25
parent36d2972c60ec86b873fa496d1f5ea95cf748cf49 (diff)
checkpoint
-rwxr-xr-xbin/common/gt2
-rw-r--r--config/essentials/zsh/.zshrc29
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"