Johannes Altmanninger
0c92c7d8ac
Fix remote path escaping for rsync and scp completions
...
They need to be escaped twice, for the local and the remote shell.
Also don't suggest local files as rsync remote paths (-a -> -xa) and
fix completion for remote paths containing multiple consecutive spaces.
Fixes #1872
[ci skip]
2020-01-13 10:30:57 +01:00
Fabian Homborg
f9f30e6a8e
completions/rsync: Fix "=THING"
...
This included stuff like `--max-size=SIZE`. Weird that nobody noticed?
[ci skip]
2019-05-30 21:41:58 +02:00
Mahmoud Al-Qudsi
264d8270a7
Emit an error message on literal zero indices
...
Mostly resolves #4862 , though there remains the lingering question of
whether or not to emit a warning to /dev/tty or stderr when a
non-literal-zero index evaluates to zero.
2018-10-01 20:58:26 -05:00
Mahmoud Al-Qudsi
5b696b5fb5
Update rsync completions
...
Closes #4863 .
2018-10-01 20:37:53 -05:00
Peter Ammon
7659554dea
Remove use of caret redirection from share/*
...
This removes the use of caret redirections from share/completions
and share/functions, in preparation for dropping support in fish.
2018-04-01 13:42:38 -07:00
Aaron Gyes
68527ff20c
completions: --description -> -d
...
This ends up saving a surprising number of bytes.
2017-10-11 10:17:35 -07:00
Kurtis Rader
a3cd5bf170
a step to remove __fish_sgrep per issue #2450
2017-04-15 18:32:30 -07:00
Fabian Homborg
4d63ebde15
Remove stray "=" from completions.
2016-05-19 14:29:04 +02:00
Fabian Homborg
b85a8bbbfe
Rename sgrep to __fish_sgrep
...
Makes it harder to cause issues with aliases, see fish-shell#2245
2015-09-09 20:55:04 +02:00
David Adam
1ff9aba6b1
rsync completions: rework transformation of file list
...
Accounts for filenames that contain spaces.
Closes #1872 .
2015-01-23 12:27:23 +08:00
David Adam
fdef82f89c
rsync completions: complete hostnames ala scp
...
Closes #1010
2013-09-19 23:24:36 +08:00
David Adam (zanchey)
b4d33a58b1
rsync completions: use rsync --list-only to generate completions, allowing the use of rsync daemons
2013-06-03 20:04:32 +08:00
James French
c177965da5
Rsync Remote Path Completion
...
Relevant section lifted from scp.fish
Silenced SSH output to squash banners and failed connections
Erroneous 'and true' removed
echo (commandline -ct) is exactly the same as commandline -ct
2013-06-03 20:04:32 +08:00
axel
b3500bfbdc
Fix bug in rsync completions
...
darcs-hash:20070121024539-ac50b-6bef9090303c56d117633077554bb43c40f64024.gz
2007-01-21 12:45:39 +10:00
axel
f8c45324b6
Add switch completions for the rsync command
...
darcs-hash:20070121023815-ac50b-178776e2fe6c3d510f4f1342269c132797a7793a.gz
2007-01-21 12:38:15 +10:00