aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/commandline.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-17 20:13:39 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-17 20:13:39 +1000
commit343cafef346543282b5b6e825bc8f9dd10028a48 (patch)
tree1bcf221ecb525c7aeadc8325e7b780d3656e544b /share/completions/commandline.fish
parent95a01f3c8f15034433ffce368d8f2d13d925139c (diff)
Redo installation file structure, move lots of things to $PREFIX/share/fish
darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
Diffstat (limited to 'share/completions/commandline.fish')
-rw-r--r--share/completions/commandline.fish12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/completions/commandline.fish b/share/completions/commandline.fish
new file mode 100644
index 00000000..337f0185
--- /dev/null
+++ b/share/completions/commandline.fish
@@ -0,0 +1,12 @@
+complete -c commandline -s a -l append -d (_ "Add text to the end of the selected area")
+complete -c commandline -s i -l insert -d (_ "Add text at cursor")
+complete -c commandline -s r -l replace -d (_ "Replace selected part")
+
+complete -c commandline -s j -l current-job -d (_ "Select job under cursor")
+complete -c commandline -s p -l current-process -d (_ "Select process under cursor")
+complete -c commandline -s t -l current-token -d (_ "Select token under cursor")
+complete -c commandline -s b -l current-buffer -d (_ "Select entire command line (default)")
+
+complete -c commandline -s c -l cut-at-cursor -d (_ "Only return that part of the command line before the cursor")
+complete -c commandline -s f -l function -d (_ "Inject readline functions to reader")
+