dotfiles/.bash_profile

38 lines
855 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"
2019-06-13 20:12:29 +02:00
export MPD_HOST="$HOME/.mpd/socket"
2018-11-30 22:59:02 +01:00
eval $(ssh-agent -s)
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
2019-07-19 23:11:53 +02:00
export XDG_CURRENT_DESKTOP=i3
2018-11-30 22:59:02 +01:00
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
2019-07-19 23:11:53 +02:00
# ~/.local/bin/vconsole
# 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