dotfiles/.bash_profile

36 lines
786 B
Bash
Raw Normal View History

2018-11-30 22:59:02 +01:00
#
# ~/.bash_profile
#
[[ -f ~/.extend.bash_profile ]] && . ~/.extend.bash_profile
[[ -f ~/.bashrc ]] && . ~/.bashrc
export VISUAL=vim
export EDITOR=vim
export PAGER=less
export PATH=~/.gem/ruby/2.5.0/bin:~/.local/bin:$PATH
2019-04-19 22:18:25 +02:00
#export LANG=fr_CA.UTF-8
#export LANGUAGE=fr_CA:fr_FR:fr:en
2018-11-30 22:59:02 +01:00
export HASTE_SERVER="https://haste.breizh.me"
eval $(ssh-agent -s)
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export QT_QPA_PLATFORMTHEME=qt5ct
export BROWSER="firefox"
export TERMINAL=urxvtc
export DMENU_OPTIONS="-nb #2d2d2d -nf #747369 -sb #6699cc -sf #2d2d2d"
startx
logout
2019-04-19 22:18:25 +02:00
elif [ "$XDG_VTNR" -ne 6 ]; then
~/.local/bin/vconsole
2018-12-26 00:40:38 +01:00
play -q "$HOME/Musique/WELCOME BACK.wav" &
2018-11-30 22:59:02 +01:00
export BROWSER=elinks
2019-01-21 08:16:41 +01:00
fish
logout
2018-11-30 22:59:02 +01:00
fi