From 8dce21ad62d8c6ec5f0093a88027e6f9ce7a6f84 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Tue, 29 Sep 2020 08:05:51 +0200 Subject: [PATCH] fixes for fish version 3.1.2 --- README.md | 4 ++-- functions/prev.fish | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b24947c..619fdc6 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Fish support of the zsh script introduced in [knqyf263/pet](https://github.com/k If you use fisher or oh-my-fish, install with the following command. ```sh -$ fisher otms61/fish-pet +$ fisher add otms61/fish-pet ``` ```sh $ omf install https://github.com/otms61/fish-pet @@ -26,7 +26,7 @@ If you'd like to bind CTRL+S ``` function fish_user_key_bindings - bind \cs 'pet-select --layout=bottom-up' + bind \cs 'pet-select' end ``` diff --git a/functions/prev.fish b/functions/prev.fish index 7b49511..8ecabaf 100644 --- a/functions/prev.fish +++ b/functions/prev.fish @@ -1,4 +1,4 @@ function prev - set line (echo $history[1]) + set line (echo $history[2]) pet new $line end