Move local zsh customisations to ~/.zsh.local

This commit is contained in:
David Morgan 2022-09-29 13:09:00 +01:00
parent d444390d08
commit c08264db2b
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 2 additions and 7 deletions

View File

@ -108,15 +108,10 @@
set -o noclobber append_history share_history
test -e "~/.iterm2_shell_integration.zsh" && source "~/.iterm2_shell_integration.zsh" || true
if [ "$(uname 2> /dev/null)" = "Darwin" ]; then
#colima status 2>/dev/null || ( nohup colima start & ) >/dev/null 2>&1
pgrep -q openvpn || ( pushd ~/otm-vpn ; nohup sudo -C 20 openvpn --config otm.ovpn --auth-user-pass <(gpg -qd ~/otm-vpn/vpn_creds.txt.gpg) & ; popd ) >/dev/null 2>&1
fi
function generate () { gopass generate -s -p $1 $((RANDOM % 14 + 45)) }
[[ ! -f ~/.zsh.local ]] || source ~/.zsh.local
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
'';