Commit Graph

34 Commits

Author SHA1 Message Date
515f78fa4c feat: Guard against ancient versions of bash where this does not work. (#1794) 2024-03-01 14:54:43 +00:00
7fe152a8a7 fix(install): discord broken link 2023-12-31 19:15:44 +00:00
901459b805 fix(shell): respect ZSH's $ZDOTDIR environment variable (#1441) 2023-12-12 10:03:22 +00:00
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
f0a0cdc58b feat(installer): try installing via paru for the AUR (#1262) 2023-09-28 11:22:06 +01:00
2342a33923 Use case for Linux distro choice in install.sh (#1200) 2023-09-11 09:16:08 +01:00
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
72c6b17ac7 Only setup shell plugin if it's not already there (#1178) 2023-08-16 09:15:35 +01:00
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
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
f3a3f1c774 install.sh - add endeavouros to archlinux detection (#827) 2023-03-29 08:25:10 +00:00
0f598032b6 fix(installer): use case-insensitive comparison (#776) 2023-03-13 22:43:21 +00:00
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
25a2732817 install.sh: Fallback to using cargo (#639) 2022-12-16 17:11:58 +00:00
3829f82d9c Add message begging for help lol 🐢 (#569) 2022-10-15 07:29:37 +01:00
6f19e8abf5 Add installer support for Termux (#540) 2022-09-25 09:14:51 -07:00
98d70fbf76 treat popos as ubuntu (#319) 2022-04-21 17:26:35 +01:00
c2dd3322c4 fix: get install.sh working on UbuntuWSL (#260) 2022-01-18 23:07:57 +00:00
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
28f78ba4e1 Update messages in install.sh about the AUR packages (#231) 2021-12-10 12:25:41 +00:00
b549095d0b Update install.sh to use pacman on Arch Linux (#229) 2021-12-09 22:52:45 +00:00
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
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
477c685217 Elementary Linux add as supported (#113) 2021-05-11 08:37:00 +00:00
220e2d05e3 Put cargo install in the right place (#63)
Resolves #61
2021-05-08 14:30:41 +01:00
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
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
6cc5006b10 Update install.sh
😳 oops
2021-04-27 18:42:16 +01:00
c11865f589 Update install.sh 2021-04-27 18:34:30 +01:00
04b2a1bd7b Update install.sh 2021-04-27 18:33:06 +01:00
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
5a2b721ceb Update install 2021-04-26 15:46:47 +01:00
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
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