diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-01-21 18:05:15 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-01-21 18:05:15 +0100 |
| commit | 953e0a3964e6c6f787c7ea70e1ffa26f254e2236 (patch) | |
| tree | 0276251cf2d5c9516bc11c24dee3833d81a49f6e /.profile | |
| parent | 2d8346d45090f78ae52831ffe69e26cd74e2b4b6 (diff) | |
fixup
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -2,6 +2,7 @@ case $(uname -o) in (Android) + PATH=~/bin:${HOME%/*}/usr/bin:~/go/bin ;; (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 @@ -14,16 +15,20 @@ case $(uname -o) in . "/opt/homebrew/etc/profile.d/bash_completion.sh" tabs -4 export HOMEBREW_NO_ANALYTICS=1 + case $SHELL in + (*/ash) export ENV=~/.shrc ;; + (*/bash) . ~/.bashrc ;; + esac ;; (Linux|GNU/Linux) PATH=~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/go/bin export XDG_RUNTIME_DIR=/run/user/$(id -u) - ;; -esac + case $SHELL in + (*/ash) export ENV=~/.shrc ;; + (*/bash) . ~/.bashrc ;; + esac -case $SHELL in -(*/ash) export ENV=~/.shrc ;; -(*/bash) . ~/.bashrc ;; + [ "$(tty)" = /dev/tty1 ] && [ -x /usr/bin/sway ] && exec dbus-run-session -- sway || true + ;; esac -[ "$(tty)" = /dev/tty1 ] && [ -x /usr/bin/sway ] && exec dbus-run-session -- sway || true |
