mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-28 06:08:58 +08:00
Fix awk command for cmdkey
This commit is contained in:
parent
e118bde5c8
commit
cd64ed5d27
@ -4,7 +4,7 @@ function __cmdkey_generate_args --description 'Function to generate args'
|
|||||||
|
|
||||||
switch $current_token
|
switch $current_token
|
||||||
case '/user:*'
|
case '/user:*'
|
||||||
__fish_list_windows_users
|
__fish_list_windows_users | awk "{ printf \"%s%s\n\", \"$current_token\", \$0 }"
|
||||||
case '*'
|
case '*'
|
||||||
if test "$previous_token" = '/delete'
|
if test "$previous_token" = '/delete'
|
||||||
echo -e '/ras\tDelete remote access entry'
|
echo -e '/ras\tDelete remote access entry'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user