diff --git a/home/.config/zsh/01-env.zsh b/home/.config/zsh/01-env.zsh index 532af02..43adace 100644 --- a/home/.config/zsh/01-env.zsh +++ b/home/.config/zsh/01-env.zsh @@ -69,9 +69,7 @@ if [ "$SSH_CONNECTION" = "" ]; then gpg-connect-agent updatestartuptty /bye >/dev/null fi {%@@ elif os == "termux" @@%} -if ! pgrep okc-ssh-agent > /dev/null; then - okc-ssh-agent > "$PREFIX/tmp/okc-ssh-agent.env" -fi +eval $(okc-ssh-agent) {%@@ endif @@%} # Enable grc colorization of supported commands diff --git a/home/.config/zsh/03-aliases.zsh b/home/.config/zsh/03-aliases.zsh index 35f123a..1b9b79c 100644 --- a/home/.config/zsh/03-aliases.zsh +++ b/home/.config/zsh/03-aliases.zsh @@ -44,7 +44,7 @@ pr() { {%@@ endif @@%} {%@@ if os == "termux" @@%} -alias okc-gpg='gpg' +alias gp='okc-gpg' {%@@ endif @@%} # find and open man pages with fzf