This commit is contained in:
Joe Lillibridge 2024-12-03 08:09:00 -06:00
parent 7165513cd7
commit 340c8631eb
No known key found for this signature in database
3 changed files with 24 additions and 3 deletions

View File

@ -1 +1 @@
{"exp":1730400318321,"latestVersion":"2.28.72"} {"exp":1731441694462,"latestVersion":"2.28.76"}

View File

@ -3,6 +3,12 @@ name = Joe Lillibridge
#email = joe@lillibridge.email #email = joe@lillibridge.email
#signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILoyiVVnKMnTDgtals13aXoBarPzwyRlKMhVugOj15ap #signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILoyiVVnKMnTDgtals13aXoBarPzwyRlKMhVugOj15ap
[push]
autoSetupRemote = true
[init]
defaultBranch = main
[gpg] [gpg]
format = ssh format = ssh
@ -62,5 +68,3 @@ remotecopy = "!git remotehttps | pbcopy"
[include] [include]
path = .gitconfig.local path = .gitconfig.local
[push]
autoSetupRemote = true

17
.zshrc
View File

@ -92,6 +92,23 @@ if [ "$system_type" = "Darwin" ]; then
[ -f $HOME/.config/op/plugins.sh ] && source ~/.config/op/plugins.sh [ -f $HOME/.config/op/plugins.sh ] && source ~/.config/op/plugins.sh
[ -e $HOME/.iterm2_shell_integration.zsh ] && source $HOME/.iterm2_shell_integration.zsh [ -e $HOME/.iterm2_shell_integration.zsh ] && source $HOME/.iterm2_shell_integration.zsh
[ -f /opt/homebrew/opt/git-extras/share/git-extras/git-extras-completion.zsh ] && source /opt/homebrew/opt/git-extras/share/git-extras/git-extras-completion.zsh [ -f /opt/homebrew/opt/git-extras/share/git-extras/git-extras-completion.zsh ] && source /opt/homebrew/opt/git-extras/share/git-extras/git-extras-completion.zsh
if [ -d /Applications/ShellHistory.app/Contents/Helpers ]; then
# adding shhist to PATH, so we can use it from Terminal
export PATH="${PATH}:/Applications/ShellHistory.app/Contents/Helpers"
# creating an unique session id for each terminal session
__shhist_session="${RANDOM}"
# prompt function to record the history
__shhist_prompt() {
local __exit_code="${?:-1}"
\history -D -t "%s" -1 | sudo --preserve-env --user ${SUDO_USER:-${LOGNAME}} shhist insert --session ${TERM_SESSION_ID:-${__shhist_session}} --username ${LOGNAME} --hostname $(hostname) --exit-code ${__exit_code} --shell zsh
return ${__exit_code}
}
# integrating prompt function in prompt
precmd_functions=(__shhist_prompt $precmd_functions)
fi
fi fi
$HOME/.iterm2/it2check $HOME/.iterm2/it2check