Add aliae to the skel

This commit is contained in:
Manuel Thalmann 2024-07-16 03:30:25 +02:00
parent 0d909f5a5a
commit 864a920ba7

View file

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