1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-08-15 17:40:21 +00:00

[utility] Refactor rsync_scp wrapper function and add completion support

Changes:
- Rename `rsync_scp_wrap` to `noremoteglob` and make it more generally usable
- Enable completion support for commands wrapped with `noremoteglob`
- Tighten up internal variable usages
- Update documentation for 'noremoteglob' function
This commit is contained in:
Indrajit Raychaudhuri
2017-07-17 00:15:45 -05:00
committed by Indrajit Raychaudhuri
parent 17a59bada7
commit a60fe47359
3 changed files with 36 additions and 29 deletions

View File

@@ -65,8 +65,8 @@ Aliases
- `history`
- `locate`
- `rake`
- `rsync`
- `scp`
- `rsync` (selectively enabled for local files)
- `scp` (selectively enabled for local files)
- `sftp`
### General
@@ -149,6 +149,7 @@ Functions
- `mkdcd` makes a directory and changes to it.
- `popdls` pops an entry off the directory stack and lists its contents.
- `pushdls` pushes an entry onto the directory stack and lists its contents.
- `noremoteglob` enable local path globbing but disable remote path globbing.
### Developer