Updated environment more soundly for things like EDITOR
This commit is contained in:
parent
4e79e73cc0
commit
0ec17aee89
3 changed files with 32 additions and 11 deletions
|
@ -1,10 +1,12 @@
|
|||
case `uname` in
|
||||
Linux)
|
||||
EDITOR=vim
|
||||
VISUAL=vim
|
||||
EDITOR=nvim
|
||||
SUDO_EDITOR=nvim
|
||||
VISUAL=nvim
|
||||
;;
|
||||
Darwin)
|
||||
EDITOR=nvim
|
||||
SUDO_EDITOR=nvim
|
||||
VISUAL=nvim
|
||||
;;
|
||||
esac
|
||||
|
@ -13,6 +15,6 @@ esac
|
|||
export EDITOR
|
||||
export VISUAL
|
||||
export PAGER=less
|
||||
export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
|
||||
export SPACEVIMDIR="$HOME/.SpaceVim.d/"
|
||||
#export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
|
||||
#export SPACEVIMDIR="$HOME/.SpaceVim.d/"
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
EDITOR=vim
|
||||
VISUAL=vim
|
||||
#EDITOR=nvim
|
||||
#VISUAL=nvim
|
||||
#PATH DEFAULT=${PATH}:/home/@{PAM_USER}/bin
|
||||
#PATH DEFAULT=${PATH}:@{HOME}/bin
|
||||
#SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
|
||||
#QT_QPA_PLATFORMTHEME=qgnomeplatform
|
||||
MOZ_X11_EGL=1
|
||||
MOZ_ENABLE_WAYLAND=1
|
||||
#MOZ_X11_EGL=1
|
||||
#MOZ_ENABLE_WAYLAND=1
|
||||
#SSH_ASKPASS=/usr/libexec/ssh/ksshaskpass
|
||||
SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3
|
||||
#SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3
|
||||
|
||||
|
|
23
.profile
23
.profile
|
@ -2,8 +2,27 @@
|
|||
# source /usr/share/defaults/etc/profile
|
||||
#fi
|
||||
|
||||
export EDITOR=vim
|
||||
export PATH=$PATH:$HOME/bin:$HOME/go/bin
|
||||
case `uname` in
|
||||
Linux)
|
||||
EDITOR=nvim
|
||||
SUDO_EDITOR=nvim
|
||||
VISUAL=nvim
|
||||
export SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3
|
||||
;;
|
||||
Darwin)
|
||||
EDITOR=nvim
|
||||
SUDO_EDITOR=nvim
|
||||
VISUAL=nvim
|
||||
;;
|
||||
esac
|
||||
|
||||
# Default Environment
|
||||
export EDITOR
|
||||
export VISUAL
|
||||
export PAGER=less
|
||||
#export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
|
||||
#export SPACEVIMDIR="$HOME/.SpaceVim.d/"
|
||||
#export PATH=$PATH:$HOME/bin:$HOME/go/bin
|
||||
#export QT_QPA_PLATFORMTHEME=qgnomeplatform
|
||||
|
||||
#. "$HOME/.cargo/env"
|
||||
|
|
Loading…
Reference in a new issue