summaryrefslogtreecommitdiff
path: root/dot_zshrc
diff options
context:
space:
mode:
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