.profile: Source all Guix profiles in ~/.guix-extra-profiles.
parent
a07699681d
commit
0a012f918a
21
.profile
21
.profile
|
@ -6,7 +6,7 @@
|
||||||
## Mask
|
## Mask
|
||||||
## Result for 027 is "rwxr-x---". 022 is the popular default.
|
## Result for 027 is "rwxr-x---". 022 is the popular default.
|
||||||
##
|
##
|
||||||
## As a result applications make the bad assumption # that "others" have access.
|
## As a result applications make the bad assumption that "others" have access.
|
||||||
## Another drawback of 027 is that is behaves badly with default sudo config: for
|
## Another drawback of 027 is that is behaves badly with default sudo config: for
|
||||||
## instance "sudo mkdir foo" will effectively create a "foo" folder whose owner
|
## instance "sudo mkdir foo" will effectively create a "foo" folder whose owner
|
||||||
## is root and with permission 027, even if root's umask is 022. This is
|
## is root and with permission 027, even if root's umask is 022. This is
|
||||||
|
@ -77,6 +77,19 @@ fi
|
||||||
## Cask
|
## Cask
|
||||||
appendpath "$HOME/.cask/bin"
|
appendpath "$HOME/.cask/bin"
|
||||||
|
|
||||||
|
## Guix
|
||||||
|
## WARNING: GUIX_PACKAGE_PATH is deprecated in favor of channels.
|
||||||
|
# if command -v guix >/dev/null 2>&1; then
|
||||||
|
# export GUIX_PACKAGE_PATH="$HOME/.guix-packages"
|
||||||
|
# fi
|
||||||
|
for i in ~/.guix-extra-profiles/*; do
|
||||||
|
profile=$i/$(basename "$i")
|
||||||
|
if [ -f "$profile"/etc/profile ]; then
|
||||||
|
GUIX_PROFILE="$profile" ; . "$profile"/etc/profile
|
||||||
|
fi
|
||||||
|
unset profile
|
||||||
|
done
|
||||||
|
|
||||||
## Last PATH entries.
|
## Last PATH entries.
|
||||||
appendpath "${HOME}/.local/bin"
|
appendpath "${HOME}/.local/bin"
|
||||||
command -v pacman >/dev/null 2>&1 && appendpath "${HOME}/.local/bin/pacman"
|
command -v pacman >/dev/null 2>&1 && appendpath "${HOME}/.local/bin/pacman"
|
||||||
|
@ -151,12 +164,6 @@ if command -v asp >/dev/null 2>&1; then
|
||||||
export ASPROOT="$HOME/.cache/asp"
|
export ASPROOT="$HOME/.cache/asp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Guix
|
|
||||||
## WARNING: GUIX_PACKAGE_PATH is deprecated in favor of channels.
|
|
||||||
# if command -v guix >/dev/null 2>&1; then
|
|
||||||
# export GUIX_PACKAGE_PATH="$HOME/.guix-packages"
|
|
||||||
# fi
|
|
||||||
|
|
||||||
## Default text editor
|
## Default text editor
|
||||||
## 'em' is a custom wrapper for emacsclient. See '.bin/em'.
|
## 'em' is a custom wrapper for emacsclient. See '.bin/em'.
|
||||||
## VISUAL is given priority by some programs like Mutt. This way we can separate
|
## VISUAL is given priority by some programs like Mutt. This way we can separate
|
||||||
|
|
Loading…
Reference in New Issue