diff options
author | 2013-12-30 12:32:24 +0800 | |
---|---|---|
committer | 2013-12-30 12:32:24 +0800 | |
commit | 1efb1202487620dbee5f0f5b527809c894ee60ad (patch) | |
tree | 5809c6a7fbda60c2d48331bd3fa786933f9f4122 /share | |
parent | 8078d29fdaa9d138d0b28b0e84e1d7c0279afbd3 (diff) |
__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.
Diffstat (limited to 'share')
-rw-r--r-- | share/functions/__fish_complete_svn.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/__fish_complete_svn.fish b/share/functions/__fish_complete_svn.fish index 51030313..7fcc3f69 100644 --- a/share/functions/__fish_complete_svn.fish +++ b/share/functions/__fish_complete_svn.fish @@ -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 |