From 1d0f05b6fb90c6ea0a7429ff957b59b03366f3ce Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Thu, 14 Dec 2023 08:19:51 +0000 Subject: [PATCH] docs: add fish install script (#1447) --- README.md | 4 ++++ docs/docs/guide/index.md | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index fe2eeb6f..9cd235c3 100644 --- a/README.md +++ b/README.md @@ -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. ``` +# bash/zsh/etc 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 -e atuin import auto atuin sync diff --git a/docs/docs/guide/index.md b/docs/docs/guide/index.md index 56658f20..ba675d43 100644 --- a/docs/docs/guide/index.md +++ b/docs/docs/guide/index.md @@ -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 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) ``` +## 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 uses a shell plugin to ensure that we capture new shell history. But for older history, you will need to import it