summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash_profile12
1 files changed, 11 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile
index 2b0b8fb..27f83c2 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -31,7 +31,6 @@ alias la='ls -a'
alias srv="python3 -m http.server" # start simple server
alias tagme='ctags -R --languages=ruby --exclude=.git --exclude=log . $(bundle list --paths)'
alias skipci='git commit --allow-empty -m "--skip-ci"'
-alias rgpg='pkill pinentry-tty; gpg-connect-agent updatestartuptty /bye'
alias k='kubectl'
complete -F __start_kubectl k
alias ktx='kubectx'
@@ -39,6 +38,17 @@ complete -F _kube_contexts ktx
alias kns='kubens'
complete -F _kube_namespaces kns
+alias gpgkill='(
+ pkill pinentry-tty
+ pkill pinentry-curses
+ gpg-connect-agent killagent /bye
+ gpg-connect-agent updatestartuptty /bye
+ gpg-connect-agent /bye
+)'
+
+# Fixes the pinentry-tty error https://github.com/neomutt/neomutt/issues/1014
+alias mutt='PINENTRY_USER_DATA=curses neomutt $@'
+
# alias g='git'
# # look up the original completion command and replace the last with the alias
# complete -o bashdefault -o default -o nospace -F __git_wrap__git_main g