Replace aliae config with default bash profile

This commit is contained in:
Manuel Thalmann 2024-07-16 03:36:51 +02:00
parent 8315b89c6c
commit 005c575320
3 changed files with 24 additions and 6 deletions
scripts/Common/Software/bash

View file

@ -0,0 +1,23 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
function installSW
configureSW
end
function configureSW -V dir
begin
printf %s\n \
"" \
"# profile" \
"while IFS= read -r -d '' file;" \
"do" \
'source "$file";' \
'done < <(find {/etc,~/.config}/bash/conf.d/* -print0 2> /dev/null);'
end | sudo tee -a /etc/skel/.bashrc &> /dev/null
end
runInstaller $argv
end