blob: d9f225e0f5df7051141999a6127b6b78fe0a98e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# ~/.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
|