From 864a920ba7a9478826ab7f443cfc238009ed4997 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 16 Jul 2024 03:30:25 +0200 Subject: [PATCH] Add `aliae` to the `skel` --- scripts/Common/Software/aliae/main.fish | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/Common/Software/aliae/main.fish b/scripts/Common/Software/aliae/main.fish index 9261abfa..a3164e7e 100644 --- a/scripts/Common/Software/aliae/main.fish +++ b/scripts/Common/Software/aliae/main.fish @@ -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 \