Moved core.zsh to .profile

This commit is contained in:
Eric Renfro 2022-09-19 16:29:04 -04:00
parent d4deb0135d
commit e7db262806
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF
3 changed files with 25 additions and 17 deletions

View file

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

View file

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

View file

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