forked from Shinonome/caelestia-cli
install: fix vscode
This commit is contained in:
@@ -22,7 +22,7 @@ complete -c caelestia -n $not_seen -a 'wallpaper' -d 'Change the wallpaper'
|
|||||||
complete -c caelestia -n $not_seen -a 'pip' -d 'Picture in picture utilities'
|
complete -c caelestia -n $not_seen -a 'pip' -d 'Picture in picture utilities'
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
set -l commands discord foot fuzzel hypr safeeyes scripts shell gtk
|
set -l commands discord foot fuzzel hypr safeeyes scripts shell gtk vscode
|
||||||
complete -c caelestia -n "$seen install && not $seen $commands" -a "$commands"
|
complete -c caelestia -n "$seen install && not $seen $commands" -a "$commands"
|
||||||
|
|
||||||
# Shell
|
# Shell
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ if test "$argv[1]" = scheme
|
|||||||
end
|
end
|
||||||
|
|
||||||
if test "$argv[1]" = install
|
if test "$argv[1]" = install
|
||||||
set -l valid_modules discord foot fuzzel hypr safeeyes scripts shell gtk
|
set -l valid_modules discord foot fuzzel hypr safeeyes scripts shell gtk vscode
|
||||||
contains -- "$argv[2]" $valid_modules && $src/install/$argv[2].fish $argv[3..] || error "Invalid module: $argv[2]"
|
contains -- "$argv[2]" $valid_modules && $src/install/$argv[2].fish $argv[3..] || error "Invalid module: $argv[2]"
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user