docs: add fish install script (#1447)

This commit is contained in:
Ellie Huxtable 2023-12-14 08:19:51 +00:00 committed by GitHub
parent a973697724
commit 1d0f05b6fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -105,8 +105,12 @@ This will sign you up for the default sync server, hosted by me. Everything is e
Read more below for offline-only usage, or for hosting your own server. Read more below for offline-only usage, or for hosting your own server.
``` ```
# bash/zsh/etc
bash <(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh) bash <(curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh)
# fish
bash (curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh | psub)
atuin register -u <USERNAME> -e <EMAIL> atuin register -u <USERNAME> -e <EMAIL>
atuin import auto atuin import auto
atuin sync atuin sync

View File

@ -53,10 +53,20 @@ bindings](https://atuin.sh/docs/key-binding#disable-up-arrow)
Let's get started! First up, you will want to install Atuin. We have an install Let's get started! First up, you will want to install Atuin. We have an install
script which handles most of the commonly used platforms and package managers: script which handles most of the commonly used platforms and package managers:
## bash/zsh
``` ```
bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh) bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh)
``` ```
## fish
```
bash (curl --proto '=https' --tlsv1.2 -sSf https://setup.atuin.sh | psub)
```
## Importing
The script will install the binary and attempt to configure your shell. Atuin The script will install the binary and attempt to configure your shell. Atuin
uses a shell plugin to ensure that we capture new shell history. But for older uses a shell plugin to ensure that we capture new shell history. But for older
history, you will need to import it history, you will need to import it