Overview
Comment: | fish: Add completion for cross |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
38aaf455e45aebe544245a9654551cd7 |
User & Date: | js 2020-12-24 12:02:05 |
Context
2020-12-28
| ||
03:59 | zshrc: Add fallback for 8 color terminals check-in: 9e42654d41 user: js tags: trunk | |
2020-12-24
| ||
12:02 | fish: Add completion for cross check-in: 38aaf455e4 user: js tags: trunk | |
2020-10-04
| ||
10:53 | tmux: Set escape-time to 0 check-in: 731caa6883 user: js tags: trunk | |
Changes
Added fish/completions/cross.fish.
> > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | function __fish_cross_none if test (count (commandline -opc)) -gt 1 return 1 end end function __fish_cross_amiga set -l cmd (commandline -opc) if test (count $cmd) != 2 || test $cmd[2] != "amiga" return 1 end end complete -c cross -x complete -c cross -n __fish_cross_none -x -a 3ds complete -c cross -n __fish_cross_none -x -a nds complete -c cross -n __fish_cross_none -x -a amiga complete -c cross -n __fish_cross_amiga -x -a m68k complete -c cross -n __fish_cross_amiga -x -a ppc complete -c cross -n __fish_cross_none -x -a ios complete -c cross -n __fish_cross_none -x -a iossim complete -c cross -n __fish_cross_none -x -a mingw complete -c cross -n __fish_cross_none -x -a morphos complete -c cross -n __fish_cross_none -x -a switch complete -c cross -n __fish_cross_none -x -a wii complete -c cross -n __fish_cross_none -x -a wii-u |