Updated .profile to include askpass

This commit is contained in:
Eric Renfro 2022-09-05 22:03:18 -04:00
parent 3f304548f7
commit f0cde2befd
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -7,7 +7,11 @@ case `uname` in
EDITOR=/usr/bin/nvim EDITOR=/usr/bin/nvim
SUDO_EDITOR=/usr/bin/nvim SUDO_EDITOR=/usr/bin/nvim
VISUAL=/usr/bin/nvim VISUAL=/usr/bin/nvim
export SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3 if [[ -x "/usr/lib/ssh/gnome-ssh-askpass3" ]]; then
SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3
elif [[ -x "/usr/lib/seahorse/ssh-askpass"]]; then
SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
fi
;; ;;
Darwin) Darwin)
EDITOR=nvim EDITOR=nvim
@ -17,9 +21,9 @@ case `uname` in
esac esac
# Default Environment # Default Environment
export EDITOR export EDITOR SUDO_EDITOR VISUAL
export VISUAL
export PAGER=less export PAGER=less
export SSH_ASKPASS
#export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc" #export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
#export SPACEVIMDIR="$HOME/.SpaceVim.d/" #export SPACEVIMDIR="$HOME/.SpaceVim.d/"
#export PATH=$PATH:$HOME/bin:$HOME/go/bin #export PATH=$PATH:$HOME/bin:$HOME/go/bin