From 191d8ba7c156043b4119d38920a8554a1b4912ba Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sun, 21 Apr 2024 10:40:32 -0700 Subject: [PATCH] Remove .config/fish/completions/dotfiles.fish --- dot_config/fish/completions/dotfiles.fish | 43 ----------------------- 1 file changed, 43 deletions(-) delete mode 100644 dot_config/fish/completions/dotfiles.fish diff --git a/dot_config/fish/completions/dotfiles.fish b/dot_config/fish/completions/dotfiles.fish deleted file mode 100644 index 854e2ad..0000000 --- a/dot_config/fish/completions/dotfiles.fish +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env fish - -set -l commands init clone ignore attributes readme - -complete --command dotfiles --wraps git - -# init -complete --command dotfiles \ - --condition "not __fish_seen_subcommand_from $commands" \ - --arguments init \ - --description "Create a new bare repo with the git folder specified" - -complete --command dotfiles \ - --condition "__fish_seen_subcommand_from init; and not __fish_seen_subcommand_from (__fish_complete_directories)" \ - --arguments "(__fish_complete_directories)" - -# clone -complete --command dotfiles \ - --condition "not __fish_seen_subcommand_from $commands" \ - --arguments clone \ - --description "Clone your dotfiles from remote and install them" - -complete --command dotfiles \ - --condition "__fish_seen_subcommand_from clone; and not __fish_seen_subcommand_from (__fish_complete_directories)" \ - --arguments "(__fish_complete_directories)" - -# ignore -complete --command dotfiles \ - --condition "not __fish_seen_subcommand_from $commands" \ - --arguments ignore \ - --description "Add a pattern to gitignore, or edit file if none given" - -# attributes -complete -f --command dotfiles \ - --condition "not __fish_seen_subcommand_from $commands" \ - --arguments attributes \ - --description "Add a pattern to gitattributes, or edit file if none given" - -# readme -complete -f --command dotfiles \ - --condition "not __fish_seen_subcommand_from $commands" \ - --arguments readme \ - --description "Edit the README.md file"