Small fixes

This commit is contained in:
Alin Panaitiu 2020-03-08 20:23:00 +02:00
parent e6879744c5
commit f6822c06ad
No known key found for this signature in database
GPG Key ID: E3629673D6E15976
2 changed files with 2 additions and 4 deletions

View File

@ -84,7 +84,7 @@ Using [fisher](https://github.com/jorgebucaran/fisher):
fisher add ajeetdsouza/zoxide 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 ```sh
omf install https://github.com/ajeetdsouza/zoxide omf install https://github.com/ajeetdsouza/zoxide
``` ```

View File

@ -6,9 +6,7 @@ function z
cd (string sub -s 8 -- "$_Z_RESULT") cd (string sub -s 8 -- "$_Z_RESULT")
commandline -f repaint commandline -f repaint
case '*' case '*'
if test -n "$_Z_RESULT" echo -n "$_Z_RESULT"
echo "$_Z_RESULT"
end
end end
end end
end end