my-yadm/.profile

32 lines
816 B
Bash

#if [[ -f /etc/solus-release ]]; then
# source /usr/share/defaults/etc/profile
#fi
case `uname` in
Linux)
EDITOR=/usr/bin/nvim
SUDO_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
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
export EDITOR SUDO_EDITOR VISUAL
export PAGER=less
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
#export QT_QPA_PLATFORMTHEME=qgnomeplatform
#. "$HOME/.cargo/env"