mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-05-16 02:23:09 +00:00
Usual bashrc and profile updates
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
a41e28d091
commit
8c1ebd6de8
5 changed files with 23 additions and 5 deletions
10
.config/bash/tools/automated-deploy.bashrc
Normal file
10
.config/bash/tools/automated-deploy.bashrc
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
for file in "${HOME}"/.config/bash/tools/*.bashrc; do
|
||||
if [ "$file" == "${HOME}/.config/bash/tools/automated-deploy.bashrc" ]; then
|
||||
echo "avoiding source loop, skipping $file"
|
||||
else
|
||||
[ $DEBUG != "" ] && echo "sourcing $file"
|
||||
source "$file"
|
||||
fi
|
||||
done
|
5
.config/bash/tools/nixpkgs.bashrc
Normal file
5
.config/bash/tools/nixpkgs.bashrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -d "$HOME/.nix-profile/etc/profile.d/nix.sh" ]] && [[ $FF_DISABLE_NIXPKGS != "true" ]]; then
|
||||
source "${HOME}/.nix-profile/etc/profile.d/nix.sh"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue