aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-10-24 13:04:53 +0200
committerKarel Kočí <cynerd@email.cz>2022-10-24 13:04:53 +0200
commit7d51487584ca3fa98d40fdb37ef143fe87ec9eca (patch)
treee1c68aedd679b2f94eafdb9e030794bbd19e89f9
parent0bdfd502a4404da0e95f7a42283011b0608580b6 (diff)
downloadmyconfigs-7d51487584ca3fa98d40fdb37ef143fe87ec9eca.tar.gz
myconfigs-7d51487584ca3fa98d40fdb37ef143fe87ec9eca.tar.bz2
myconfigs-7d51487584ca3fa98d40fdb37ef143fe87ec9eca.zip
Add result to gitignore and read all profiles
-rw-r--r--gitignore3
m---------private0
-rw-r--r--profile6
3 files changed, 7 insertions, 2 deletions
diff --git a/gitignore b/gitignore
index 89ba6f7..80eda48 100644
--- a/gitignore
+++ b/gitignore
@@ -8,6 +8,9 @@
# Ignore backup files in general
*~
+# Ignore default meson output in general
+result
+
# C development
.gdbinit
.cache/
diff --git a/private b/private
-Subproject 47ecff7a79099d6ad1d2e0bc5c777970e1c693b
+Subproject b56b56738a1ea5faee474d74a97166ef5619bfc
diff --git a/profile b/profile
index 12e6fce..5fa0d56 100644
--- a/profile
+++ b/profile
@@ -10,8 +10,10 @@ export CT_LOCAL_TARBALLS_DIR="~/src/ct-ng"
export PYTHONPYCACHEPREFIX="$HOME/.cache/pycache"
# Nix
-[ -f "$HOME/.nix-profile/etc/profile.d/nix.sh" ] && \
- . "$HOME/.nix-profile/etc/profile.d/nix.sh" # added by Nix installer
+for profile in "$HOME"/.nix-profile/etc/profile.d/*; do
+ [ -f "$profile" ] || continue
+ source "$profile"
+done
# Rest of the profile run only if login is from linux console