mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-16 15:04:05 +00:00
Hide /c, /k when needed for cmd command
This commit is contained in:
parent
cd991d5936
commit
61a77ef9fc
1 changed files with 6 additions and 3 deletions
|
@ -28,9 +28,12 @@ off\tDisable file and directory name completion' | awk -F '\t' "{ printf \"$curr
|
||||||
echo -e 'on\tEnable delayed environment variable expansion
|
echo -e 'on\tEnable delayed environment variable expansion
|
||||||
off\tDisable delayed environment variable expansion' | awk -F '\t' "{ printf \"$current_token%s\t%s\n\", \$1, \$2 }"
|
off\tDisable delayed environment variable expansion' | awk -F '\t' "{ printf \"$current_token%s\t%s\n\", \$1, \$2 }"
|
||||||
case '*'
|
case '*'
|
||||||
|
if not __fish_seen_argument --windows 'c' --windows 'k'
|
||||||
echo -e '/c\tCarry out the command specified by string and then stop
|
echo -e '/c\tCarry out the command specified by string and then stop
|
||||||
/k\tCarry out the command specified by string and continue
|
/k\tCarry out the command specified by string and continue'
|
||||||
/s\tModify the treatment of string after /c or /k
|
end
|
||||||
|
|
||||||
|
echo -e '/s\tModify the treatment of string after /c or /k
|
||||||
/q\tTurn the echo off
|
/q\tTurn the echo off
|
||||||
/d\tDisable execution of AutoRun commands
|
/d\tDisable execution of AutoRun commands
|
||||||
/a\tFormat internal command output to a pipe or a file as ANSI
|
/a\tFormat internal command output to a pipe or a file as ANSI
|
||||||
|
|
Loading…
Reference in a new issue