From 7d4158e20b29a7d1d922ad1567f802f9e4865e44 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 26 Apr 2025 12:31:34 +0200 Subject: fix fedora-asahi-remix --- .profile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to '.profile') diff --git a/.profile b/.profile index d52b4f3..98093f8 100644 --- a/.profile +++ b/.profile @@ -7,14 +7,14 @@ case $OS in PATH=~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/go/bin export XDG_RUNTIME_DIR=/run/user/$(id -u) ;; +(fedora-asahi-remix) + PATH=~/bin:/usr/local/bin:/usr/sbin:/usr/bin:~/go/bin + export XKB_DEFAULT_LAYOUT=us XKB_DEFAULT_VARIANT=intl + ;; (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 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 @@ -24,6 +24,11 @@ case $OS in ;; esac +if [ -z "$SSH_AUTH_SOCK" ]; then + eval "$(ssh-agent -s)" + ssh-add +fi + case $SHELL in (*/ash) export ENV=~/.shrc ;; (*/bash) type -t p >/dev/null || . ~/.bashrc ;; -- cgit v1.2.3