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