PortValhalla/scripts/Common/Software/bash/main.fish

20 lines
512 B
Fish
Raw Normal View History

#!/bin/env fish
begin
set -l dir (status dirname)
2024-11-01 12:12:16 +00:00
source "$dir/../../../lib/software.fish"
function configureSW -V dir
begin
printf %s\n \
"" \
"# profile" \
"while IFS= read -r -d '' file;" \
2024-10-06 19:25:34 +00:00
do \
' source "$file";' \
'done < <(find {/etc,~/.config}/bash/conf.d/* -print0 2> /dev/null);'
2024-10-06 19:25:34 +00:00
end | sudo tee -a /etc/bash.bashrc &>/dev/null
end
runInstaller $argv
end