summaryrefslogtreecommitdiff
path: root/dot_zshrc
diff options
context:
space:
mode:
authorSakamoto <me@sakamoto.network>2026-08-29 16:04:49 -0500
committerSakamoto <me@sakamoto.network>2026-08-29 16:04:49 -0500
commitde5dd3ace1db0538df5db00f154c3b311c867cad (patch)
tree5f5812ead3ef6b70b098e29665e70cbbfe6ed78d /dot_zshrc
parentd51beea88d300cb5066bb92a8148cad52fa1091d (diff)
downloaddotfiles-de5dd3ace1db0538df5db00f154c3b311c867cad.tar.xz
dotfiles-de5dd3ace1db0538df5db00f154c3b311c867cad.zip
Diffstat (limited to 'dot_zshrc')
-rw-r--r--dot_zshrc12
1 files changed, 9 insertions, 3 deletions
diff --git a/dot_zshrc b/dot_zshrc
index 23d0299..9194dd1 100644
--- a/dot_zshrc
+++ b/dot_zshrc
@@ -14,6 +14,7 @@ precmd () {
}
export PATH=$PATH:~/.local/bin
+export PATH="$HOME/.cargo/bin:$PATH"
# zstyle ':completion:*' menu select
@@ -42,8 +43,13 @@ if [[ -f ~/.ssh/ssh-agent.env ]]; then
fi
ssh-add -l &> /dev/null || ssh-add
-# Home and End Key Bindings
-bindkey "^[[H" beginning-of-line
-bindkey "^[[F" end-of-line
+export GPG_TTY=$(tty)
+gpg-connect-agent updatestartuptty /bye >/dev/null
eval "$(zoxide init zsh)"
+
+bindkey -e
+
+# if [[ -z "$TMUX" ]]; then
+# tmux attach-session -t default \; new-window && exit || tmux new-session -s default && exit
+# fi