28 lines
603 B
Bash
28 lines
603 B
Bash
#if [[ -f /etc/solus-release ]]; then
|
|
# source /usr/share/defaults/etc/profile
|
|
#fi
|
|
|
|
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"
|