all repos — nixfiles @ 3f217996b70a4825d06d7d45bf08ad7834c60003

System and user configuration, managed by nix and home-manager

fish: remove theme.sh-related code

Alin
commit

3f217996b70a4825d06d7d45bf08ad7834c60003

parent

bd98be7f56cb81871e5d9304f371a0fd43e25d39

3 files changed, 0 insertions(+), 105 deletions(-)

changed files
D user/settings/fish/completions/theme.sh.fish
@@ -1,98 +0,0 @@
-set subcommands -- -l -i -i2 -r -a -p -v \ - --list \ - --interactive \ - --interactive2 \ - --random \ - --add \ - --print-theme \ - --version - -complete \ - --command theme.sh \ - --no-files - -complete \ - --command theme.sh \ - --condition __fish_is_first_arg \ - --long-option light \ - --exclusive \ - --description "Use light theme filter" - -complete \ - --command theme.sh \ - --condition __fish_is_first_arg \ - --long-option dark \ - --exclusive \ - --description "Use dark theme filter" - -complete \ - --command theme.sh \ - --short-option l \ - --long-option list \ - --condition "not __fish_seen_subcommand_from $subcommands" \ - --description "Print all available themes" - -complete \ - --command theme.sh \ - --short-option i \ - --long-option interactive \ - --condition "not __fish_seen_subcommand_from $subcommands" \ - --description "Start the interactive selection mode (requires fzf)" - -complete \ - --command theme.sh \ - --short-option i2 \ - --long-option interactive2 \ - --condition "not __fish_seen_subcommand_from $subcommands" \ - --description "Interactive mode #2 (shows theme immediately)" - -complete \ - --command theme.sh \ - --short-option r \ - --long-option random \ - --condition "not __fish_seen_subcommand_from $subcommands" \ - --description "Set a random theme and print its name" - -complete \ - --command theme.sh \ - --short-option p \ - --long-option print-theme \ - --condition "not __fish_seen_subcommand_from $subcommands" \ - --description "Attempt to read the current theme from the terminal" - -complete \ - --command theme.sh \ - --short-option v \ - --long-option version \ - --condition "not __fish_seen_subcommand_from $subcommands" \ - --description "Print the version and exit" - -complete \ - --command theme.sh \ - --short-option a \ - --long-option add \ - --condition "not __fish_seen_subcommand_from $subcommands" \ - --description "Annexes the given kitty config file" \ - --require-parameter - -complete \ - --command theme.sh \ - --condition "__fish_seen_subcommand_from -a --add" \ - --force-files - -complete \ - --command theme.sh \ - --condition "not __fish_seen_subcommand_from $subcommands --light --dark" \ - --arguments '(theme.sh --list)' - -complete \ - --command theme.sh \ - --condition "not __fish_seen_subcommand_from $subcommands" \ - --condition "__fish_seen_subcommand_from --light" \ - --arguments '(theme.sh --light --list)' - -complete \ - --command theme.sh \ - --condition "not __fish_seen_subcommand_from $subcommands" \ - --condition "__fish_seen_subcommand_from --dark" \ - --arguments '(theme.sh --dark --list)'
M user/settings/fish/config.fish → user/settings/fish/config.fish
@@ -12,7 +12,3 @@ end
# tide needs this for now https://github.com/IlanCosman/tide/issues/622 set -g fish_key_bindings fish_default_key_bindings - -function __set_current_theme --on-variable THEME_CURRENT - INHIBIT_THEME_HIST=1 theme.sh $THEME_CURRENT -end
D user/settings/fish/functions/last_theme.fish
@@ -1,3 +0,0 @@
-function last_theme - theme.sh (theme.sh -l)[-2] -end