configs  Artifact [42abad1386]

Artifact 42abad13864f8be9a2f180a61be9f89e47b549ff88d3af7cfe07b8ce54c05b4d:

  • File fish/completions/cross.fish — part of check-in [38aaf455e4] at 2020-12-24 12:02:05 on branch trunk — fish: Add completion for cross (user: js size: 880)

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