diff options
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 33 |
1 files changed, 23 insertions, 10 deletions
@@ -1,14 +1,27 @@ # ~/.profile -PATH=~/bin:~/mu/bin:$PATH:~/go/bin +case $(uname -s) in +(Darwin) + PATH=~/bin:~/mu/bin:/opt/homebrew/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/opt/tcl-tk/bin:$PATH:~/go/bin:~/.cargo/bin:~/.pyenv/versions/2.7.18/bin:~/.local/bin + export REPLYTO='mvertes@free.fr' + export LANG=en_US.UTF-8 + if [ -z "$SSH_AUTH_SOCK" ] ; then + eval `ssh-agent -s` + ssh-add + fi + . "/opt/homebrew/etc/profile.d/bash_completion.sh" + tabs -4 + export HOMEBREW_NO_ANALYTICS=1 + ;; +(Linux) + PATH=~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/go/bin + export XDG_RUNTIME_DIR=/run/user/$(id -u) + ;; +esac -[ "${SHELL##*/}" = bash ] && . ~/.bashrc +case $SHELL in +(*/ash) export ENV=~/.shrc ;; +(*/bash) . ~/.bashrc ;; +esac -# Last action: auto start X11 when logged on first console -# case $HOSTNAME in -# ([sS]wift|yoda) [ "$(tty)" != /dev/tty1 ] || exec startxfce4 ;; -# esac - -tabs -4 - -[ "$(tty)" != /dev/tty1 ] || exec dbus-run-session sway +#[ "$(tty)" != /dev/tty1 ] || exec dbus-run-session sway |
