diff options
author | Karel Kočí <cynerd@email.cz> | 2022-10-24 13:04:53 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-10-24 13:04:53 +0200 |
commit | 7d51487584ca3fa98d40fdb37ef143fe87ec9eca (patch) | |
tree | e1c68aedd679b2f94eafdb9e030794bbd19e89f9 /profile | |
parent | 0bdfd502a4404da0e95f7a42283011b0608580b6 (diff) | |
download | myconfigs-7d51487584ca3fa98d40fdb37ef143fe87ec9eca.tar.gz myconfigs-7d51487584ca3fa98d40fdb37ef143fe87ec9eca.tar.bz2 myconfigs-7d51487584ca3fa98d40fdb37ef143fe87ec9eca.zip |
Add result to gitignore and read all profiles
Diffstat (limited to 'profile')
-rw-r--r-- | profile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |