From f6822c06ad8a2a00b1b29e60fd3e53f71d941d7f Mon Sep 17 00:00:00 2001 From: Alin Panaitiu Date: Sun, 8 Mar 2020 20:23:00 +0200 Subject: [PATCH] Small fixes --- README.md | 2 +- functions/z.fish | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4467a04..71cd9d3 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Using [fisher](https://github.com/jorgebucaran/fisher): fisher add ajeetdsouza/zoxide ``` -Using [omf](https://github.com/oh-my-fish/oh-my-fish): +Using [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish): ```sh omf install https://github.com/ajeetdsouza/zoxide ``` diff --git a/functions/z.fish b/functions/z.fish index cc54b8d..1e05067 100644 --- a/functions/z.fish +++ b/functions/z.fish @@ -6,9 +6,7 @@ function z cd (string sub -s 8 -- "$_Z_RESULT") commandline -f repaint case '*' - if test -n "$_Z_RESULT" - echo "$_Z_RESULT" - end + echo -n "$_Z_RESULT" end end end