__fish_complete_svn: remove GNU extension options
Continuation of https://github.com/fish-shell/fish-shell/pull/1195/. Removes use of --delimiter and --fields with cut(1) as these are GNU extensions. Note that a number of completions use these options, but as they are only for GNU/Linux-specific tools have remained unmodified.
This commit is contained in:
parent
8078d29fda
commit
1efb120248
@ -298,12 +298,12 @@ function __fish_complete_svn -d 'Complete svn and its wrappers' --argument-names
|
||||
#
|
||||
# Completions for the 'relocate' subcommand
|
||||
#
|
||||
_svn_cmpl_ $relocate -xa '( svn info | grep URL: | cut --delimiter " " --fields 2 ) http:// ftp:// svn+ssh:// svn+ssh://(__fish_print_hostnames)'
|
||||
_svn_cmpl_ $relocate -xa '( svn info | grep URL: | cut -d " " -f 2 ) http:// ftp:// svn+ssh:// svn+ssh://(__fish_print_hostnames)'
|
||||
|
||||
#
|
||||
# Completions for the 'switch', 'sw' subcommands
|
||||
#
|
||||
_svn_cmpl_ $switch -l relocate --description 'Relocate via URL-rewriting' -xa '( svn info | grep URL: | cut --delimiter " " --fields 2 ) http:// ftp:// svn+ssh:// svn+ssh://(__fish_print_hostnames)'
|
||||
_svn_cmpl_ $switch -l relocate --description 'Relocate via URL-rewriting' -xa '( svn info | grep URL: | cut -d " " -f 2 ) http:// ftp:// svn+ssh:// svn+ssh://(__fish_print_hostnames)'
|
||||
|
||||
#
|
||||
# Completions for the 'status', 'st' subcommands
|
||||
|
Loading…
x
Reference in New Issue
Block a user