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
|
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
|
||||||
|
|
Loading…
Reference in a new issue