mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
__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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue