From 97ac4144480ac24c2ce7c6bd8998d80c30d2874a Mon Sep 17 00:00:00 2001 From: Jean Mertz Date: Mon, 20 Oct 2014 15:51:13 +0200 Subject: [PATCH] Allow to pass any arguments to z before: ``` $ z --help 12 /Users/Jean/Dropbox 12 /Users/Jean/work $ z work /Users/Jean/work ``` after: ``` z --help z [-chlrtx] args $ z work /Users/Jean/work ``` --- plugins/z/z.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/z/z.fish b/plugins/z/z.fish index b138529..31b8e3d 100644 --- a/plugins/z/z.fish +++ b/plugins/z/z.fish @@ -1,3 +1,3 @@ function z - cd (bash -c 'source $Z_SCRIPT_PATH; _z $0; echo $PWD' $argv) + cd (bash -c "source $Z_SCRIPT_PATH; _z $argv; echo \$PWD") end