Skip to content

Instantly share code, notes, and snippets.

@fatso83
Created September 24, 2020 14:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatso83/0621870b4e9c0ef75f938160d9ad8b3e to your computer and use it in GitHub Desktop.
Save fatso83/0621870b4e9c0ef75f938160d9ad8b3e to your computer and use it in GitHub Desktop.
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
export VISUAL='vim'
export EDITOR='vim'
export PYTHONSTARTUP="$HOME/.pystartup"
export MAVEN_OPTS="-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS \
-Dorg.slf4j.simpleLogger.showDateTime=true"
# Ruby/RVM stuff
#export PATH="$PATH:$HOME/.rvm/bin"
#[ -s "$HOME/.rvm/scripts/rvm" ] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
if [ "$0" = "/usr/sbin/lightdm-session" -a "$DESKTOP_SESSION" = "i3" ]; then
export $(gnome-keyring-daemon --start --components=ssh)
fi
# Add Rust stuff
export PATH="$HOME/.cargo/bin:$PATH"
# Add Go stuff
export PATH="$HOME/go/bin:$HOME/.go/bin:$PATH"
# Node stuff
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment