aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/ln.fish
diff options
context:
space:
mode:
authorGravatar SanskritFritz <SanskritFritz+github@gmail.com>2012-10-02 23:22:40 +0200
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-10-02 17:54:30 -0700
commit956f99365a2bd19bba1ee0e7713a5798b802d83c (patch)
treed8dc330ca24e4fabf4dfbaba7d3bc9570ef36730 /share/completions/ln.fish
parent99044151449b61ea7b7f267eb9b7f339b804acdd (diff)
Some new completions and modified some others.
Diffstat (limited to 'share/completions/ln.fish')
-rw-r--r--share/completions/ln.fish32
1 files changed, 16 insertions, 16 deletions
diff --git a/share/completions/ln.fish b/share/completions/ln.fish
index d1d0fc02..c15d9162 100644
--- a/share/completions/ln.fish
+++ b/share/completions/ln.fish
@@ -1,18 +1,18 @@
-# completions for ln
+# Completions for ln
# Author: SanskritFritz (gmail)
-complete -c ln -f -s s -l symbolic -d 'make symbolic links instead of hard links'
-complete -c ln -f -l backup=CONTROL -d 'make a backup of each existing destination file'
-complete -c ln -f -s b -d 'like --backup but does not accept an argument'
-complete -c ln -f -s d -l directory -d 'allow the superuser to attempt to hard link directories'
-complete -c ln -f -s f -l force -d 'remove existing destination files'
-complete -c ln -f -s i -l interactive -d 'prompt whether to remove destinations'
-complete -c ln -f -s L -l logical -d 'make hard links to symbolic link references'
-complete -c ln -f -s n -l no-dereference -d 'treat destination that is a symlink to a directory as if it were a normal file'
-complete -c ln -f -s P -l physical -d 'make hard links directly to symbolic links'
-complete -c ln -f -s S -l suffix=SUFFIX -d 'override the usual backup suffix'
-complete -c ln -f -s t -l target-directory=DIRECTORY -d 'specify the DIRECTORY in which to create the links'
-complete -c ln -f -s T -l no-target-directory -d 'treat LINK_NAME as a normal file'
-complete -c ln -f -s v -l verbose -d 'print name of each linked file'
-complete -c ln -f -l help -d 'display this help and exit'
-complete -c ln -f -l version -d 'output version information and exit'
+complete -c ln -f -s s -l symbolic -d 'Make symbolic links instead of hard links'
+complete -c ln -f -l backup -a "none off numbered t existing nil simple never" -d 'Make a backup of each existing destination file'
+complete -c ln -f -s b -d 'Make a backup of each existing destination file'
+complete -c ln -f -s d -l directory -d 'Allow superuser to attempt to hard link directories'
+complete -c ln -f -s f -l force -d 'Remove existing destination files'
+complete -c ln -f -s i -l interactive -d 'Prompt whether to remove destinations'
+complete -c ln -f -s L -l logical -d 'Dereference TARGETs that are symbolic links'
+complete -c ln -f -s n -l no-dereference -d 'Treat symlink to directory as if it were a file'
+complete -c ln -f -s P -l physical -d 'Make hard links directly to symbolic links'
+complete -c ln -f -s S -l suffix -d 'Override the usual ~ backup suffix'
+complete -c ln -f -s t -l target-directory -a '(__fish_complete_directories)' -d 'Specify the DIRECTORY in which to create the links'
+complete -c ln -f -s T -l no-target-directory -d 'Treat LINK_NAME as a normal file'
+complete -c ln -f -s v -l verbose -d 'Print name of each linked file'
+complete -c ln -f -l help -d 'Display help and exit'
+complete -c ln -f -l version -d 'Output version information and exit'