Add aliae
to the skel
This commit is contained in:
parent
5e5bb3e5df
commit
8315b89c6c
1 changed files with 7 additions and 5 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue