Moved core.zsh to .profile

master
Eric Renfro 3 months ago
parent d4deb0135d
commit e7db262806
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
  1. 34
      .local/dotfiles/environment/core.zsh
  2. 4
      .profile
  3. 4
      .zshenv

@ -1,20 +1,20 @@
case `uname` in
Linux)
EDITOR=nvim
SUDO_EDITOR=nvim
VISUAL=nvim
;;
Darwin)
EDITOR=nvim
SUDO_EDITOR=nvim
VISUAL=nvim
;;
esac
#case `uname` in
# Linux)
# EDITOR=/usr/bin/nvim
# SUDO_EDITOR=/usr/bin/nvim
# VISUAL=/usr/bin/nvim
# ;;
# 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 EDITOR
#export VISUAL
#export PAGER=less
##export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
##export SPACEVIMDIR="$HOME/.SpaceVim.d/"

@ -6,6 +6,7 @@ case `uname` in
Linux)
EDITOR=/usr/bin/nvim
SUDO_EDITOR=/usr/bin/nvim
SYSTEMD_EDITOR=/usr/bin/nvim
VISUAL=/usr/bin/nvim
if [[ -x "/usr/lib/ssh/gnome-ssh-askpass3" ]]; then
SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3
@ -17,6 +18,9 @@ case `uname` in
EDITOR=nvim
SUDO_EDITOR=nvim
VISUAL=nvim
if [[ -r "/usr/local/bin/lesspipe.sh" ]]; then
export LESSOPEN="|/usr/local/bin/lesspipe.sh %s"
fi
;;
esac

@ -7,6 +7,10 @@
: ${ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim}
# }}} End configuration added by Zim install
if [[ -r "$HOME/.profile" ]]; then
. "$HOME/.profile"
fi
if [[ -r "$HOME/.cargo/env" ]]; then
. "$HOME/.cargo/env"
fi

Loading…
Cancel
Save