forked from Shinonome/caelestia-cli
install: scripts install completions
This commit is contained in:
@@ -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.'
|
||||||
|
|||||||
Reference in New Issue
Block a user