diff options
author | SanskritFritz <SanskritFritz+github@gmail.com> | 2014-04-06 23:57:34 +0200 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-05-03 12:30:41 -0700 |
commit | 0101b39f6c1407c6af03b88bd0173937497c348b (patch) | |
tree | ecfd320bb25b0799deefe15fb1aec714fedd64c9 /share/completions/cp.fish | |
parent | 4285baa6e1b88c6ae1e96e3894828dc9063a380f (diff) |
Completions added/updated.
Diffstat (limited to 'share/completions/cp.fish')
-rw-r--r-- | share/completions/cp.fish | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/share/completions/cp.fish b/share/completions/cp.fish index 0415bd86..8b161585 100644 --- a/share/completions/cp.fish +++ b/share/completions/cp.fish @@ -1,3 +1,6 @@ +# Completions for cp +# SanskritFritz (gmail) + complete -c cp -s a -l archive --description "Same as -dpR" complete -c cp -s b -l backup --description "Make backup of each existing destination file" -a "none off numbered t existing nil simple never" complete -c cp -l copy-contents --description "Copy contents of special files when recursive" @@ -16,12 +19,12 @@ complete -c cp -l version --description "Display version and exit" complete -c cp -s L -l dereference --description "Always follow symbolic links" complete -c cp -s P -l no-dereference --description "Never follow symbolic links" complete -c cp -s p --description "Same as --preserve=mode,ownership,timestamps" -complete -c cp -l preserve --description "Preserve the specified attributes and security contexts, if possible" -a "mode ownership timestamps links all" -complete -c cp -l no-preserve -r --description "Don't preserve the specified attributes" -a "mode ownership timestamps links all" +complete -c cp -f -l preserve --description "Preserve ATTRIBUTES if possible" -xa "mode ownership timestamps links all" +complete -c cp -f -l no-preserve -r --description "Don't preserve ATTRIBUTES" -xa "mode ownership timestamps links all" complete -c cp -l parents --description "Use full source file name under DIRECTORY" complete -c cp -s r -s R -l recursive --description "Copy directories recursively" -complete -c cp -l remove-destination --description "Remove each existing destination file before attempting to open it (contrast with --force)" -complete -c cp -l sparse -r --description "Control creation of sparse files" -a "always auto never" +complete -c cp -l remove-destination --description "First remove existing destination files" +complete -c cp -f -l sparse -r --description "Control creation of sparse files" -xa "always auto never" complete -c cp -s s -l symbolic-link --description "Make symbolic links instead of copying" complete -c cp -s T -l no-target-directory --description "Treat DEST as a normal file" complete -c cp -s x -l one-file-system --description "Stay on this file system" |