Fix awk command for cmdkey

This commit is contained in:
EmilySeville7cfg 2021-11-26 17:48:31 +10:00 committed by ridiculousfish
parent e118bde5c8
commit cd64ed5d27

View File

@ -4,7 +4,7 @@ function __cmdkey_generate_args --description 'Function to generate args'
switch $current_token
case '/user:*'
__fish_list_windows_users
__fish_list_windows_users | awk "{ printf \"%s%s\n\", \"$current_token\", \$0 }"
case '*'
if test "$previous_token" = '/delete'
echo -e '/ras\tDelete remote access entry'