This commit is contained in:
Vasili Svirydau
2021-04-16 13:43:22 -07:00
parent cc283d92bd
commit cf075eb3cc
7 changed files with 67 additions and 32 deletions

13
setup.d/00-bash.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [[ $SHELL =~ "bash" ]]; then
SIGIL="# Managed by dotfiles"
if ! grep "$SIGIL" ~/.bashrc > /dev/null; then
(
echo "$SIGIL"
echo "for f in $DOTFILES/bash.d/*.sh; do source \"\$f\"; done"
echo "unset f"
) >> ~/.bashrc
fi
fi