# ~/.profile export OS=$(~/bin/os) case $OS in (arch|alpine) PATH=~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/go/bin export XDG_RUNTIME_DIR=/run/user/$(id -u) ;; (Darwin) PATH=~/bin:~/mu/bin:/opt/homebrew/bin:/opt/homebrew/opt/python/libexec/bin:$PATH:~/go/bin:~/.cargo/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 ;; (termux) PATH=~/bin:${HOME%/*}/usr/bin:~/go/bin ;; esac case $SHELL in (*/ash) export ENV=~/.shrc ;; (*/bash) type -t p >/dev/null || . ~/.bashrc ;; esac [ "$(tty)" = /dev/tty1 ] && [ -x /usr/bin/sway ] && exec dbus-run-session -- sway || true