From 73ba5012b4e05db5db24b2efa4f3f1daee2b8a2b Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Mon, 4 Feb 2019 15:15:41 +0100 Subject: [PATCH] add -b flag completion to fish --- z.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/z.lua b/z.lua index bb57aca..94cb31d 100755 --- a/z.lua +++ b/z.lua @@ -1996,6 +1996,7 @@ complete -c $_ZL_CMD -s 't' -d 'cd to most recently accessed dir matching' complete -c $_ZL_CMD -s 'l' -d 'list matches instead of cd' complete -c $_ZL_CMD -s 'c' -d 'restrict matches to subdirs of $PWD' complete -c $_ZL_CMD -s 'e' -d 'echo the best match, don''t cd' +complete -c $_ZL_CMD -s 'b' -d 'jump backwards to given dir or to project root' complete -c $_ZL_CMD -s 'x' -x -d 'remove path from history' -a '(_z_complete)' ]]