1
1
mirror of https://github.com/ellie/atuin.git synced 2024-07-15 00:30:36 +03:00
Commit Graph

41 Commits

Author SHA1 Message Date
Ellie Huxtable
8d5fac2a1f
chore(install): use posix sh, not bash (#2204) 2024-06-26 16:24:05 +01:00
Ellie Huxtable
b07a03574b
chore: do not use package managers in installer (#2201) 2024-06-26 16:05:32 +01:00
Ellie Huxtable
b88c42f3f9
feat: use cargo-dist installer from our install script (#2108)
* feat: use cargo-dist installer from our install script

* shellcheck
2024-06-10 16:36:10 +01:00
Xavier Vello
83637d96b0
chore(install): log cargo and rustc version (#2068) 2024-05-31 19:13:39 +01:00
Pierluigi
5d24fbfab6
feat(install): add Tuxedo OS (#2018)
Add Tuxedo OS to the list of Debian-compatible OSes.
2024-05-14 10:03:25 +07:00
Ivan Toriya
f814f62267
fix(install): install script echo (#1899)
* 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-02 15:07:55 +01:00
Diego Carrasco Gubernatis
5c54c2afed
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.
2024-04-02 08:28:10 +01:00
Samson
515f78fa4c
feat: Guard against ancient versions of bash where this does not work. (#1794) 2024-03-01 14:54:43 +00:00
Ellie Huxtable
7fe152a8a7
fix(install): discord broken link 2023-12-31 19:15:44 +00:00
Dennis Trautwein
901459b805
fix(shell): respect ZSH's $ZDOTDIR environment variable (#1441) 2023-12-12 10:03:22 +00:00
Dennis Trautwein
bdd7fe661f
fix: respect ZSH's $ZDOTDIR environment variable (#942)
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-12-09 17:52:09 +00:00
Orhun Parmaksız
f0a0cdc58b
feat(installer): try installing via paru for the AUR (#1262) 2023-09-28 11:22:06 +01:00
mentalisttraceur
2342a33923
Use case for Linux distro choice in install.sh (#1200) 2023-09-11 09:16:08 +01:00
Jinn Koriech
fbbe24da75
fix(ubuntu/arm*): detect non amd64 ubuntu and handle (#1131)
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-17 20:53:18 +00:00
Ellie Huxtable
72c6b17ac7
Only setup shell plugin if it's not already there (#1178) 2023-08-16 09:15:35 +01:00
Ellie Huxtable
1fb7caa2d6
Move all references to the old repo (#1132)
The repo now lives on an org! Move all references to the old path.
2023-07-30 23:08:00 +01:00
Ellie Huxtable
395aa81c2a
Revamp getting started guide (#1065)
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-06-21 09:14:55 +01:00
Ch. (Chanwhi Choi)
f3a3f1c774
install.sh - add endeavouros to archlinux detection (#827) 2023-03-29 08:25:10 +00:00
Austin Schey
0f598032b6
fix(installer): use case-insensitive comparison (#776) 2023-03-13 22:43:21 +00:00
frukto
ae2124a69c
Make the install script more robust (#692)
Dont't fail is a Linux system does not provide lsb_release,
try to read the distro from /etc/os-release in this case.
2023-02-10 19:38:18 +00:00
Patrick Jackson
25a2732817
install.sh: Fallback to using cargo (#639) 2022-12-16 17:11:58 +00:00
Ellie Huxtable
3829f82d9c
Add message begging for help lol 🐢 (#569) 2022-10-15 07:29:37 +01:00
Laurent le Beau-Martin
6f19e8abf5
Add installer support for Termux (#540) 2022-09-25 09:14:51 -07:00
Brad Robel-Forrest
98d70fbf76
treat popos as ubuntu (#319) 2022-04-21 17:26:35 +01:00
Simon Elsbrock
c2dd3322c4
fix: get install.sh working on UbuntuWSL (#260) 2022-01-18 23:07:57 +00:00
Sandro
d36ff138ab
Replace dpkg with apt (#248)
dpkg is a backend tool not supposed to be used by end users for installing debs.
Also apt installs potentials dependencies.
2021-12-19 10:13:13 +00:00
Orhun Parmaksız
28f78ba4e1
Update messages in install.sh about the AUR packages (#231) 2021-12-10 12:25:41 +00:00
Orhun Parmaksız
b549095d0b
Update install.sh to use pacman on Arch Linux (#229) 2021-12-09 22:52:45 +00:00
Jannik
c8f60b2480
fix: resolve some issues with install.sh (#188)
* 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-12-08 23:21:41 +00:00
Ian Smith
a127408e93
run shellcheck (#97)
* 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-14 08:31:15 +01:00
Manel Vilar
477c685217
Elementary Linux add as supported (#113) 2021-05-11 08:37:00 +00:00
Ellie Huxtable
220e2d05e3
Put cargo install in the right place (#63)
Resolves #61
2021-05-08 14:30:41 +01:00
avinassh
035bf9a99b
Add a newline when editing shell rc files (#60)
* 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-08 12:57:27 +00:00
Ian Smith
e2edcbf994
Fix ubuntu install (#46)
The filename for the deb is versioned like '0.6.4', not 'v0.6.4'.
2021-05-07 19:06:43 +01:00
Ellie Huxtable
6cc5006b10
Update install.sh
😳 oops
2021-04-27 18:42:16 +01:00
Ellie Huxtable
c11865f589
Update install.sh 2021-04-27 18:34:30 +01:00
Ellie Huxtable
04b2a1bd7b
Update install.sh 2021-04-27 18:33:06 +01:00
Ellie Huxtable
9356736ca1 Release v0.6.3
First proper release!

- Update install script
- Correct dependencies
- Update workflow release script
2021-04-26 18:04:56 +01:00
Ellie Huxtable
5a2b721ceb Update install 2021-04-26 15:46:47 +01:00
Ellie Huxtable
0610ae197f
Pre release polishing (#42)
* Improve readme

* Add demo gif

* Update readme

* Add mac build

* Amend release config

* Update gif
2021-04-26 13:25:57 +00:00
Ellie Huxtable
156893d774
Update docs, unify on SQLx, bugfixes (#40)
* Begin moving to sqlx for local too

* Stupid scanners should just have a nice cup of tea

Random internet shit searching for /.env or whatever

* Remove diesel and rusqlite fully
2021-04-25 17:21:52 +00:00