my-yadm/.profile

33 lines
815 B
Plaintext
Raw Normal View History

2018-12-23 11:36:27 -05:00
#if [[ -f /etc/solus-release ]]; then
# source /usr/share/defaults/etc/profile
#fi
case `uname` in
Linux)
2022-09-05 21:53:45 -04:00
EDITOR=/usr/bin/nvim
SUDO_EDITOR=/usr/bin/nvim
VISUAL=/usr/bin/nvim
2022-09-05 22:03:18 -04:00
if [[ -x "/usr/lib/ssh/gnome-ssh-askpass3" ]]; then
SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3
elif [[ -x "/usr/lib/seahorse/ssh-askpass"]]; then
SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
fi
;;
Darwin)
EDITOR=nvim
SUDO_EDITOR=nvim
VISUAL=nvim
;;
esac
# Default Environment
2022-09-05 22:03:18 -04:00
export EDITOR SUDO_EDITOR VISUAL
export PAGER=less
2022-09-05 22:03:18 -04:00
export SSH_ASKPASS
#export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
#export SPACEVIMDIR="$HOME/.SpaceVim.d/"
#export PATH=$PATH:$HOME/bin:$HOME/go/bin
2018-12-23 11:36:27 -05:00
#export QT_QPA_PLATFORMTHEME=qgnomeplatform
#. "$HOME/.cargo/env"