aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh (unfollow)
Commit message (Collapse)Author
3 dayschore: Remove unneeded filesBenedikt Peetz
2026-04-14fix: install script incorrectly tries to install opencode hooks (#3410)Michelle Tilley
2026-04-13feat: autoinstall ai shell history hooks (#3399)Ellie Huxtable
Follows our existing behaviour of automatically installing shell hooks, extend this for ai agents too ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
2026-03-26fix: use printf to append fish shell init block (#3346)lif
## Summary - The existing sed-based fish config injection produced malformed output on some systems, concatenating 'atuin init fish | source' and 'end' onto the same line (issue #3192) - Replace the GNU/BSD sed detection block with a single printf append that writes a self-contained 'if status is-interactive' block - Remove the now-unnecessary sed dependency check from the installer ## Root cause sed backslash-newline replacement behaves inconsistently across GNU and BSD (macOS) implementations, causing the newline to be dropped on some systems. ## Fix Use printf to append a new 'if status is-interactive' block, consistent with how bash/zsh init lines are already added. ## Test plan - shellcheck -e SC2148 install.sh passes with no warnings - Idempotency preserved via existing grep -q duplicate guard Fixes #3192 Signed-off-by: majiayu000 <1835304752@qq.com>
2026-03-20fix: better tty check (#3313)Ellie Huxtable
Our previous tty check could return true in environments where the tty device node exists, but cannot actually be opened. <!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
2026-03-18fix: redirect tty0 when running setupEllie Huxtable
2026-03-13feat: call atuin setup from install script (#3265)Ellie Huxtable
<!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-03feat: update script for smoother setup (#3230)Ellie Huxtable
Many users do not seem to read the docs. So, make the install script handle most of the things that we include in the docs quickstart. Ensures that the install script still functions as expected in non-interactive environments - setup scripts, ci, etc. Offers a flag just in case this check fails, to force non-interactive setup. <!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-01-16docs: Disambiguate 'setup' (noun) vs. 'set up' (verb) (#3061)Waldir Pimenta
<!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [x] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [x] I have checked that there are no existing pull requests for the same thing
2025-11-10chore: Add Atuin Desktop information to install scriptEllie Huxtable
2025-03-09fixes #2603: support fish plugin in install script (#2604)Matthew Berryman
* fix: support fish plugin in install script * fix sed command on Linux for fish plugin install * light touch refactor for consistent and clearer cross-platform support * start the final end at the beginning of the line * ignore leading whitespace in fish config
2024-06-26chore(install): use posix sh, not bash (#2204)Ellie Huxtable
2024-06-26chore: do not use package managers in installer (#2201)Ellie Huxtable
2024-06-10feat: use cargo-dist installer from our install script (#2108)Ellie Huxtable
* feat: use cargo-dist installer from our install script * shellcheck
2024-05-31chore(install): log cargo and rustc version (#2068)Xavier Vello
2024-05-14feat(install): add Tuxedo OS (#2018)Pierluigi
Add Tuxedo OS to the list of Debian-compatible OSes.
2024-04-02fix(install): install script echo (#1899)Ivan Toriya
* fix: install script echo * fix(nu): Update atuin.nu to resolve 0.92 deprecation (#1913) * feat(install): Update install.sh to support KDE Neon (#1908) KDE Neon is based on Ubuntu 22.04, but the OS List for Ubuntu-based distros does not have the string "neon". This commit adds it. * chore(deps): bump lukemathwalker/cargo-chef (#1901) Bumps lukemathwalker/cargo-chef from latest-rust-1.76.0-buster to latest-rust-1.77.0-buster. --- updated-dependencies: - dependency-name: lukemathwalker/cargo-chef dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): flake.lock: Update (#1910) Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/d465f4819400de7c8d874d50b982301f28a84605' (2024-02-28) → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/ebe6e807793e7c9cc59cf81225fdee1a03413811' (2024-02-29) → 'github:NixOS/nixpkgs/807c549feabce7eddbf259dbdcec9e0600a0660d' (2024-03-29) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(doctor): detect preexec plugin using env ATUIN_PREEXEC_BACKEND (#1856) * refactor(doctor): update func names and desc to match current impl * fix(doctor): use environment variable to detect plugin if possible In this patch, if the plugin provides an environment variable, we use the environment variable to test the existence of the plugin. When an environment variable is not available, we continue to use the mock interactive session by "shell -ic command". We also test shell-specific plugins only in the corresponding shells. An additional test can be performed by a custom function for each plugin. * chore(deps): bump sysinfo from 0.30.6 to 0.30.7 (#1888) Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.30.6 to 0.30.7. - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/compare/v0.30.6...v0.30.7) --- updated-dependencies: - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Ivan Toriya <toriya@precisdigital.com> Co-authored-by: Wind <WindSoilder@outlook.com> Co-authored-by: Diego Carrasco Gubernatis <557703+dacog@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-04-02feat(install): Update install.sh to support KDE Neon (#1908)Diego Carrasco Gubernatis
KDE Neon is based on Ubuntu 22.04, but the OS List for Ubuntu-based distros does not have the string "neon". This commit adds it.
2024-03-01feat: Guard against ancient versions of bash where this does not work. (#1794)Samson
2023-12-31fix(install): discord broken linkEllie Huxtable
2023-12-12fix(shell): respect ZSH's $ZDOTDIR environment variable (#1441)Dennis Trautwein
2023-12-09fix: respect ZSH's $ZDOTDIR environment variable (#942)Dennis Trautwein
ZSH reads its configuration by default relative to a path that's set via $ZDOTDIR. If $ZDOTDIR is not set, then the value of $HOME is used; this is the usual case. Source: https://zsh.sourceforge.io/Intro/intro_3.html#IDX11 Also $HOME is save to use, because "The system shall initialize this variable at the time of login to be a pathname of the user's home directory". Source: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html Lastly, the shell parameter expansion syntax is save to use generically: https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_02 Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2023-09-28feat(installer): try installing via paru for the AUR (#1262)Orhun Parmaksız
2023-09-11Use `case` for Linux distro choice in `install.sh` (#1200)mentalisttraceur
2023-08-17fix(ubuntu/arm*): detect non amd64 ubuntu and handle (#1131)Jinn Koriech
If we're running Ubuntu on non-amd64 we get an install error. As there's no ARM package yet we can offer the user the option to install via cargo rather than install something that won't work.
2023-08-16Only setup shell plugin if it's not already there (#1178)Ellie Huxtable
2023-07-30Move all references to the old repo (#1132)Ellie Huxtable
The repo now lives on an org! Move all references to the old path.
2023-06-21Revamp getting started guide (#1065)Ellie Huxtable
We were lacking some docs here really. Walk new users through getting installed and signed up! Coming next - Common config (how to disable the up arrow lol) - Troubleshooting - Community config/integrations
2023-03-29install.sh - add endeavouros to archlinux detection (#827)Ch. (Chanwhi Choi)
2023-03-13fix(installer): use case-insensitive comparison (#776)Austin Schey
2023-02-10Make the install script more robust (#692)frukto
Dont't fail is a Linux system does not provide lsb_release, try to read the distro from /etc/os-release in this case.
2022-12-16install.sh: Fallback to using cargo (#639)Patrick Jackson
2022-10-15Add message begging for help lol 🐢 (#569)Ellie Huxtable
2022-09-25Add installer support for Termux (#540)Laurent le Beau-Martin
2022-04-21treat popos as ubuntu (#319)Brad Robel-Forrest
2022-01-18fix: get install.sh working on UbuntuWSL (#260)Simon Elsbrock
2021-12-19Replace dpkg with apt (#248)Sandro
dpkg is a backend tool not supposed to be used by end users for installing debs. Also apt installs potentials dependencies.
2021-12-10Update messages in install.sh about the AUR packages (#231)Orhun Parmaksız
2021-12-09Update install.sh to use `pacman` on Arch Linux (#229)Orhun Parmaksız
2021-12-08fix: resolve some issues with install.sh (#188)Jannik
* feat: add command checks to install script Some people don't use sudo or have curl, sed or wget installed by default. This adds a check, if sudo, curl and sed are installed and changes wget to curl as this is the mostly used command in the script. If sudo is not installed it uses su. Closes: #175 * fix: add newline to printf commands The printf was missing a newline at the end, which resulted in the eval line being appended directly to the end of the previous line.
2021-05-14run shellcheck (#97)Ian Smith
* run shellcheck * Update .github/workflows/shellcheck.yml Co-authored-by: Conrad Ludgate <oon@conradludgate.com> * shellcheck fixes in which i am highly confident * shellcheck fixes in which I am less confident - not executing this is fine, right? * SC2155 In src/shell/atuin.bash line 1: export ATUIN_SESSION=$(atuin uuid) ^-----------^ SC2155: Declare and assign separately to avoid masking return values. * shellcheck doesn't support zsh, per https://github.com/koalaman/shellcheck/wiki/SC1071 * yaml fix * gotta checkout our code, too * yaml fix * action spelling * exclude .zsh * Shellcheck doesn't support zsh, per https://github.com/koalaman/shellcheck/wiki/SC1071, and the ignore: param in ludeeus/action-shellcheck only supports _directories_, not _files_. So instead, we manually add any error the shellcheck step finds in the file to the above line ... * comment all the ignores * Update src/shell/atuin.bash Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com> * new zsh plugin shellcheck errors * new zsh plugin shellcheck errors, pt 2 Co-authored-by: Conrad Ludgate <oon@conradludgate.com> Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2021-05-11Elementary Linux add as supported (#113)Manel Vilar
2021-05-08Put cargo install in the right place (#63)Ellie Huxtable
Resolves #61
2021-05-08Add a newline when editing shell rc files (#60)avinassh
* Add a newline when editing shell rc files * Update install.sh Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> * Update install.sh Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
2021-05-07Fix ubuntu install (#46)Ian Smith
The filename for the deb is versioned like '0.6.4', not 'v0.6.4'.
2021-04-27Update install.shEllie Huxtable
:flushed: oops
2021-04-27Update install.shEllie Huxtable
2021-04-27Update install.shEllie Huxtable
2021-04-26Release v0.6.3Ellie Huxtable
First proper release! - Update install script - Correct dependencies - Update workflow release script
2021-04-26Update installEllie Huxtable