1
0
mirror of https://github.com/vbrandl/dotfiles synced 2024-11-26 17:35:12 +01:00
dotfiles/shells/profile
Valentin Brandl 1064b83fc7
Enable rvm
2018-11-22 18:25:11 +01:00

16 lines
503 B
Bash

# ~/.profile
# start window manager on login
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
exec startx
export QT_QPA_PLATFORMTHEME='gtk2'
fi
# vim: set filetype=zsh ts=4 sw=4 tw=120 et :
export PATH="$HOME/.cargo/bin:$PATH"
export PATH="$PATH:$HOME/.pub-cache/bin"
PATH="$HOME/.node/bin:$PATH"
NODE_PATH="$HOME/.node/lib/node_modules:$NODE_PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*