Updated .profile to include askpass
This commit is contained in:
parent
3f304548f7
commit
f0cde2befd
1 changed files with 7 additions and 3 deletions
10
.profile
10
.profile
|
@ -7,7 +7,11 @@ case `uname` in
|
|||
EDITOR=/usr/bin/nvim
|
||||
SUDO_EDITOR=/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)
|
||||
EDITOR=nvim
|
||||
|
@ -17,9 +21,9 @@ case `uname` in
|
|||
esac
|
||||
|
||||
# Default Environment
|
||||
export EDITOR
|
||||
export VISUAL
|
||||
export EDITOR SUDO_EDITOR VISUAL
|
||||
export PAGER=less
|
||||
export SSH_ASKPASS
|
||||
#export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
|
||||
#export SPACEVIMDIR="$HOME/.SpaceVim.d/"
|
||||
#export PATH=$PATH:$HOME/bin:$HOME/go/bin
|
||||
|
|
Loading…
Reference in a new issue