Add aliae to the skel

This commit is contained in:
Manuel Thalmann 2024-07-16 03:30:25 +02:00
parent 5e5bb3e5df
commit 8315b89c6c

View file

@ -13,15 +13,17 @@ begin
set -l file /etc/aliae/aliae.yml
sudo install -Dm644 "$dir/aliae.yml" "$file"
function getBashStatements
echo 'eval "$(aliae init bash)"'
echo 'eval "$(aliae completion bash)"'
end
begin
echo "export ALIAE_CONFIG=$(string escape "$file")"
end | installBashProfile "aliae" "aliae"
begin
printf %s\n "" \
"# aliae" \
'eval "$(aliae init bash)"' \
'eval "$(aliae completion bash)"'
end | sudo tee /etc/skel/.bashrc
if type -q fish
begin
printf %s\n \