Updated environment more soundly for things like EDITOR

master
Eric Renfro 3 months ago
parent 4e79e73cc0
commit 0ec17aee89
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
  1. 10
      .local/dotfiles/environment/core.zsh
  2. 10
      .pam_environment
  3. 23
      .profile

@ -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

@ -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…
Cancel
Save