install: scripts install completions

This commit is contained in:
2 * r + 2 * t
2025-01-28 18:17:11 +11:00
parent e8334e209e
commit 8c9afe2d5e
+6 -1
View File
@@ -7,11 +7,16 @@ install-optional-deps 'vesktop-bin (discord client)' 'btop (system monitor)' 'wf
set -l dist $CONFIG/scripts set -l dist $CONFIG/scripts
# Clone repo
confirm-overwrite $dist confirm-overwrite $dist
git clone 'https://github.com/caelestia-dots/scripts.git' $dist git clone 'https://github.com/caelestia-dots/scripts.git' $dist
# Install to path
mkdir -p ~/.local/bin mkdir -p ~/.local/bin
ln -s $dist/main.fish ~/.local/bin/caelestia ln -s $dist/main.fish ~/.local/bin/caelestia
# Install completions
mkdir -p $CONFIG/../fish/completions
cp $dist/completions/caelestia.fish $CONFIG/../fish/completions/caelestia.fish
log 'Done.' log 'Done.'