From 214c677032e2d8d1a2b81f776b718f54c214666c Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 9 Feb 2017 18:42:55 +0100 Subject: [PATCH] Remove outdated completions These are dead projects with completions that didn't provide much value. Fixes #3662. --- share/completions/anamnesis.fish | 14 ----- share/completions/dcop.fish | 45 --------------- share/completions/djview3.fish | 3 - share/completions/effectv.fish | 94 -------------------------------- share/completions/meat.fish | 41 -------------- 5 files changed, 197 deletions(-) delete mode 100644 share/completions/anamnesis.fish delete mode 100644 share/completions/dcop.fish delete mode 100644 share/completions/djview3.fish delete mode 100644 share/completions/effectv.fish delete mode 100644 share/completions/meat.fish diff --git a/share/completions/anamnesis.fish b/share/completions/anamnesis.fish deleted file mode 100644 index 70bd7dba4..000000000 --- a/share/completions/anamnesis.fish +++ /dev/null @@ -1,14 +0,0 @@ - -complete -c anamnesis -l version -d "Show program's version number and exit" -complete -c anamnesis -s h -l help -d "Show a help message and exit" -complete -c anamnesis -l start -d "Starts anamnesis daemon" -complete -c anamnesis -l stop -d "Stops anamnesis daemon" -complete -c anamnesis -l restart -d "Restarts anamnesis daemon" -complete -c anamnesis -s b -l browser -d "Opens anamnesis browser with clipboard history" -complete -c anamnesis -l cleanup -d "Performs a cleanup on the clipboard database" -complete -c anamnesis -s l -l list -d "Prints the clipboard history last N values" -complete -c anamnesis -l filter -d "Use keywords to filter the clips to be listed" -complete -c anamnesis -s a -l add -d "Adds a value to the clipboard" -complete -c anamnesis -l remove -d "Removes the clipboard element with the given id" -complete -c anamnesis -l brief -d "Print only a brief version of long clipboard elements" - diff --git a/share/completions/dcop.fish b/share/completions/dcop.fish deleted file mode 100644 index 333c53dbe..000000000 --- a/share/completions/dcop.fish +++ /dev/null @@ -1,45 +0,0 @@ -# -# Completions for the shell interface to the KDE DCOP server -# - -function __fish_complete_dcop -d "Completions for kde dcop" - set -l com (commandline) - - if eval "$com >/dev/null 2>&1" - # use dcop output if available - eval "$com | sed -e 's/ (default)//; s/^\w[^ ]* \(\w*\)([^)]*)\$/\1/'" - - else - set -l op (commandline -o) - - if test (count $op) -le 2 - # select an application - dcop | grep -- $op[-1] - else - # select a function - set -l o - for i in (seq 1 (count $op)) - # strip the \ character which causes problems - set o[$i] (echo $op[$i] | sed -e 's/\\\//g') - end - - set -l idx (seq 2 (expr (count $o) - 1)) - # list only function names - dcop $o[$idx] | grep -- $o[-1] | sed -e 's/ (default)//; s/^\w[^ ]* \(\w*\)([^)]*)$/\1/' - end - end -end - - -complete -c dcop -l help -s h -f --description "Show help about options" -complete -c dcop -l user -x -a '(awk -F: "{print \$1}" /etc/passwd)' --description "Connect to the given user's DCOP server" -complete -c dcop -l all-users -f --description "Send the same DCOP call to all users with a running DCOP server" -complete -c dcop -l list-sessions -f --description "List all active KDE session for a user or all users" -complete -c dcop -l session -x -a '(dcop --list-sessions --all-users | grep DCOP)' --description "Send to the given KDE session" -complete -c dcop -l no-user-time -f --description "Don't update the user activity timestamp in the called application" -complete -c dcop -l pipe -f --description "Call DCOP for each line read from stdin" - -complete -c dcop -x -a "(__fish_complete_dcop)" - - - diff --git a/share/completions/djview3.fish b/share/completions/djview3.fish deleted file mode 100644 index 961796106..000000000 --- a/share/completions/djview3.fish +++ /dev/null @@ -1,3 +0,0 @@ - -complete -c djview3 -x -a "(__fish_complete_suffix .djvu)" - diff --git a/share/completions/effectv.fish b/share/completions/effectv.fish deleted file mode 100644 index f0ad760ef..000000000 --- a/share/completions/effectv.fish +++ /dev/null @@ -1,94 +0,0 @@ -# completions for effectv 0.3.9 or similiar - -complete -c effectv -f -a "QuarkTV" -d "Dissolves moving objects" -complete -c effectv -f -a "FireTV" -d "Clips incoming objects and burns it" -complete -c effectv -f -a "BurningTV" -d "Burns incoming objects" -complete -c effectv -f -a "RadioacTV" -d "Brightens moving objects and blurs it" -complete -c effectv -f -a "StreakTV" -d "Makes 8 afterimages" -complete -c effectv -f -a "BaltanTV" -d "Makes afterimages longer" -complete -c effectv -f -a "1DTV" -d "Grabs a horizontal line from video every 1/30 sec" -complete -c effectv -f -a "DotTV" -d "Converts the picture into a set of dots" -complete -c effectv -f -a "MosaicTV" -d "Censors incoming objects" -complete -c effectv -f -a "PuzzleTV" -d "Scrambles the picture" -complete -c effectv -f -a "PredatorTV" -d "Makes incoming objects invisible visibly" -complete -c effectv -f -a "SpiralTV" -d "Spiraling effect" -complete -c effectv -f -a "SimuraTV" -d "Color distortion and image mirroring" -complete -c effectv -f -a "EdgeTV" -d "Detects edge and display it like good old computer way" -complete -c effectv -f -a "ShagadelicTV" -d "Go back to swinging '60s" -complete -c effectv -f -a "NoiseTV" -d "Makes incoming objects noisy" -complete -c effectv -f -a "AgingTV" -d "Film-aging effect" -complete -c effectv -f -a "LifeTV" -d "Conway's life game with video input interaction" -complete -c effectv -f -a "TransFormTV" -d "Performs positional translations on images" -complete -c effectv -f -a "SparkTV" -d "Spark effect" -complete -c effectv -f -a "warpTV" -d "Goo'ing effect" -complete -c effectv -f -a "HolographicTV" -d "Holographic vision seen in Star Wars" -complete -c effectv -f -a "cycleTV" -d "Color cycling effect" -complete -c effectv -f -a "RippleTV" -d "Ripple mark effect" -complete -c effectv -f -a "DiceTV" -d "A 'dicing' effect" -complete -c effectv -f -a "VertigoTV" -d "Alpha blending with zoomed and rotated images" -complete -c effectv -f -a "DeinterlaceTV" -d "Deinterlacing video images" -complete -c effectv -f -a "nervousTV" -d "Real-time frame shuffling effect" -complete -c effectv -f -a "RndmTV" -d "Gives you a noisy picture in color or B/W" -complete -c effectv -f -a "RevTV" -d "Waveform monitor effect" -complete -c effectv -f -a "RandomDotStereoTV" -d "Makes random dot stereo stream from video input" -complete -c effectv -f -a "LensTV" -d "Old school demo lens effect" -complete -c effectv -f -a "DiffTV" -d "Highlights interframe differences" -complete -c effectv -f -a "BrokenTV" -d "Simulates broken TV" -complete -c effectv -f -a "WarholTV" -d "Homage to Andy Warhol" -complete -c effectv -f -a "MatrixTV" -d "A Matrix like effect" -complete -c effectv -f -a "PUPTV" -d "Comes from \"Partial UPdate\", certain part of image is updated at a frame" -complete -c effectv -f -a "ChameleonTV" -d "Vanishing into the wall…" - -complete -c effectv -o help -d "show usage information" -complete -c effectv -o device -r -d "[FILE] use device FILE for video4linux (default is /dev/video0)" -complete -c effectv -o channel -r -d "[CHANNEL] channel number of video source (default is 0)" - -set __fish_effectv_norms "ntsc -pal -secam -pal-nc -pal-m -pal-n -ntsc-jp" -complete -c effectv -o norm -x -a '(echo $__fish_effectv_norms)' -d "[NORM] set video norm (default is ntsc)" - -set __fish_effectv_freqs "argentina -australia -australia-optus -canada-cable -china-bcast -europe-east -europe-west -france -ireland -italy -japan-bcast -japan-cable -newzealand -southafrica -us-bcast -us-cable -us-cable-hrc" -complete -c effectv -o freqtab -x -a '(echo $__fish_effectv_freqs)' -d "[FREQUTAB] set frequency table" - -complete -c effectv -o fullscreen -d "enable fullscreen mode" -complete -c effectv -o hardware -d "use direct video memory (if possible)" -complete -c effectv -o doublebuffer -d "enable double buffering mode (if possible)" -complete -c effectv -o fps -d "show frames/sec" -complete -c effectv -o size -x -a "WxH" -d "[WxH] set the size of capturing image to WxH pixels (default 320x240)" -complete -c effectv -o geometry -x -a "WxH" -d "[WxH] set the size of screen to WxH pixels" -complete -c effectv -o scale -x -d "[NUMBER] set the scaling. When the capturing size is set, the screen size is scaled by NUMBER" -complete -c effectv -o autoplay -x -d "[FRAMES] change effects automatically every FRAMES" - -set __fish_effectv_palettes "grey -rgb24 -rgb555 -rgb565 -yuv410p -yuv411p -yuv420p -yuv422 -yuv422p" -complete -c effectv -o palette -x -a '(echo $__fish_effectv_palettes)' -d "[PALETTE] set the PALETTE of capturing device" - -complete -c effectv -o vloopback -r -d "[FILE] use device FILE for output of vloopback device" diff --git a/share/completions/meat.fish b/share/completions/meat.fish deleted file mode 100644 index 4af7f7a53..000000000 --- a/share/completions/meat.fish +++ /dev/null @@ -1,41 +0,0 @@ -# Command specific completions for meat (an Archlinux AUR helper). - -set -l listinstalled "(pacman -Qm | tr ' ' \t)" -set -l listall "(pacman -Sl | cut --delim ' ' --fields 2- | tr ' ' \t)" -set -l listrepos "(__fish_print_pacman_repos)" -set -l listgroups "(pacman -Sg | sed 's/\(.*\)/\1\tPackage group/g')" - - -# Operations: -complete -c meat -f -s h -l 'help' -d 'Display help and quit' -complete -c meat -f -s d -l 'download' -d 'Download and install targets' -complete -c meat -f -s G -l 'git-db-update' -d 'Update the git database' -complete -c meat -f -s i -l 'info' -d 'Show info for target [twice for more details]' -complete -c meat -f -s s -l 'search' -d 'Search for packages by name' -complete -c meat -f -s m -l 'msearch' -d 'Search for packages by maintainer' -complete -c meat -f -s u -l 'update' -d 'Check for updates and install' -complete -c meat -f -s U -l 'listupdates' -d 'Check for updates and list them' - -# General options: -complete -c meat -f -s f -l 'force' -d 'Continue no matter what [not recommended]' -complete -c meat -f -s g -l 'git-check' -d 'Update checksums for git files' -complete -c meat -f -l 'ignoregit' -xa "$listinstalled" -d 'Ignore PKG when checking for git updates' -complete -c meat -f -l 'ignore' -xa "$listinstalled" -d 'Ignore PKG upgrade' -complete -c meat -f -l 'ignorerepo' -xa "$listrepos" -d 'Ignore REPO when checking for updates' -complete -c meat -f -l 'nossl' -d "Don't use https connections" -complete -c meat -f -l 'sign' -d "GPG sign the resulting package" -complete -c meat -f -l 'nosign' -d "Don't GPG sign the resulting package" -complete -c meat -f -s t -l 'target' -d 'Download targets to DIR' -complete -c meat -f -l 'threads' -d 'Limit the number of threads created [10]' -complete -c meat -f -l 'timeout' -d 'Curl timeout in seconds' -complete -c meat -f -l 'check-all' -d 'Check all files when installing' - -# Output options: -complete -c meat -f -s c -l 'color' -a 'always auto never' -d 'Use colored output' -complete -c meat -f -l 'debug' -d 'Show debug output' -complete -c meat -f -l 'format' -d 'Print formatted' -complete -c meat -f -s q -l 'quiet' -d 'Output less' -complete -c meat -f -s v -l 'verbose' -d 'Output more' - -# Complete with AUR packages: -complete -c meat -f --condition 'not expr (commandline --current-token) : "^-.*" > /dev/null' --arguments '(cower --format="%n\n" --search (commandline --current-token))'