Modularized .profile base

master
Eric Renfro 3 months ago
parent e7db262806
commit 0f4cd08c12
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
  1. 1
      .gitconfig
  2. 36
      .profile
  3. 21
      .profile##o.Darwin
  4. 22
      .profile##o.Linux

@ -0,0 +1 @@
.gitconfig##f.arch

@ -1,36 +0,0 @@
#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
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
elif [[ -x "/usr/lib/seahorse/ssh-askpass" ]]; then
SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
fi
;;
Darwin)
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
# 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"

@ -0,0 +1,21 @@
#if [[ -f /etc/solus-release ]]; then
# source /usr/share/defaults/etc/profile
#fi
EDITOR=nvim
SUDO_EDITOR=nvim
VISUAL=nvim
if [[ -r "/usr/local/bin/lesspipe.sh" ]]; then
export LESSOPEN="|/usr/local/bin/lesspipe.sh %s"
fi
# 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"

@ -0,0 +1,22 @@
#if [[ -f /etc/solus-release ]]; then
# source /usr/share/defaults/etc/profile
#fi
export EDITOR=/usr/bin/nvim
export SUDO_EDITOR=/usr/bin/nvim
export SYSTEMD_EDITOR=/usr/bin/nvim
export VISUAL=/usr/bin/nvim
if [[ -x "/usr/lib/ssh/gnome-ssh-askpass3" ]]; then
export SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3
elif [[ -x "/usr/lib/seahorse/ssh-askpass" ]]; then
export SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
fi
# Default Environment
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"
Loading…
Cancel
Save