Various updates

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2025-06-06 09:57:01 +02:00
parent 3e48fec287
commit 14bc3b3b7c
6 changed files with 80 additions and 196 deletions

View File

@@ -15,7 +15,6 @@ zstyle ':omz:update' mode reminder
source `brew --prefix switch`/switch.sh
# History
HISTFILE="$HOME/.zsh_history"
HISTIGNORE="&:exit:reset:clear:zh"
@@ -30,7 +29,6 @@ setopt HIST_REDUCE_BLANKS
setopt autocd
autoload -U add-zsh-hook
DISABLE_AUTO_TITLE="true"
# Override auto-title when static titles are desired ($ title My new title)
@@ -54,4 +52,6 @@ preexec() {
printf "\033]0;%s\a" "${1%% *} | $cwd" # Omit construct from $1 to show args
}
eval "$(ssh-agent -s)" > /dev/null
if [ $(/bin/ps -ef | /usr/bin/grep "ssh-agent" | /usr/bin/grep -v "grep" | wc -l) -eq 0 ]; then
eval "$(ssh-agent -s)" > /dev/null
fi