summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-04-26 12:31:34 +0200
committerMarc Vertes <mvertes@free.fr>2025-04-26 12:31:34 +0200
commit7d4158e20b29a7d1d922ad1567f802f9e4865e44 (patch)
tree0fe8415d0dce8660faa1787118f32f2989f4c717 /.profile
parentacd3c43601812cff27bf225a567f4fdf3731e75d (diff)
fix fedora-asahi-remix
Diffstat (limited to '.profile')
-rw-r--r--.profile13
1 files changed, 9 insertions, 4 deletions
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 ;;