From dffa021c681aea61999123b9bac7f7ec110837f2 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 21 Jan 2025 14:35:21 +0100 Subject: fix .profile --- .profile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.profile') diff --git a/.profile b/.profile index 861f532..bfff988 100644 --- a/.profile +++ b/.profile @@ -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 -- cgit v1.2.3