diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-01-21 14:35:21 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-01-21 14:35:21 +0100 |
| commit | dffa021c681aea61999123b9bac7f7ec110837f2 (patch) | |
| tree | dddda39427bb58e4c5bfb22053a11ad2e1d150e5 /.profile | |
| parent | 981054fa3d6b446b5697ad1e95fd9d89a17b7297 (diff) | |
fix .profile
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,9 +5,9 @@ case $(uname -s) in 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 + if [ -z "$SSH_AUTH_SOCK" ]; then + eval "$(ssh-agent -s)" + ssh-add fi . "/opt/homebrew/etc/profile.d/bash_completion.sh" tabs -4 @@ -24,4 +24,4 @@ case $SHELL in (*/bash) . ~/.bashrc ;; esac -#[ "$(tty)" != /dev/tty1 ] || exec dbus-run-session sway +[ "$(tty)" = /dev/tty1 ] && [ -x /usr/bin/sway ] && exec dbus-run-session -- sway || true |
