From 993b227682a1351fd16f16187ed4cda2445f10b5 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Thu, 17 Jan 2019 15:51:32 +0100 Subject: [PATCH] add fish completion to etc (#131) --- etc/lf.fish | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 etc/lf.fish diff --git a/etc/lf.fish b/etc/lf.fish new file mode 100644 index 0000000..95f7009 --- /dev/null +++ b/etc/lf.fish @@ -0,0 +1,13 @@ +# Autocompletion for Fish shell +# Put this file somewhere in $fish_complete_path +# for example in ~/.config/fish/completions/ + +complete -c lf -o cpuprofile -r -d 'path to the file to write the CPU profile' +complete -c lf -o doc -d 'show documentation' +complete -c lf -o last-dir-path -r -d 'path to the file to write the last dir on exit (to use for cd)' +complete -c lf -o memprofile -r -d 'path to the file to write the memory profile' +complete -c lf -o remote -x -d 'send remote command to server' +complete -c lf -o selection-path -r -d 'path to the file to write selected files on open (to use as open file dialog)' +complete -c lf -o server -d 'start server (automatic)' +complete -c lf -o version -d 'show version' +complete -c lf -s h -d "short help"