Ajeet D'Souza
9c7eedd893
remove local check
2024-05-06 02:43:04 +05:30
Ajeet D'Souza
3ac6f5aede
try_sudo
2024-05-06 02:38:15 +05:30
Ajeet D'Souza
da7a6b7621
Make help page consistent with zoxide CLI
2024-05-05 23:39:50 +05:30
aarondill
17304135eb
fix(ci): run shfmt
...
the ci requires that you run `shfmt -w --indent=4 --language-dialect=posix --simplify *.sh'`, and as such, i now have.
note: I also formatted the case statement in parse_args to fit on one screen while still being readable.
2024-01-23 04:33:05 -06:00
aarondill
b242e49ca3
fix(CI): variable braces and masked exit codes
2024-01-23 04:17:14 -06:00
aarondill
d4ad8c3f54
fix unset variable _arch in usage
...
Remove the display of this default value, since we can't detect it without erroring before usage.
2024-01-23 04:02:04 -06:00
aarondill
efbd14a442
Use end-of-options marker (--) when user input is passed to a command
...
This ensures that odd values for _bin_name, _bin_dir, and others aren't treated as options to the command and cause a failure.
2024-01-23 03:53:42 -06:00
aarondill
b69bcd571a
add simple check to ensure that local is supported
...
Since the installation instructions now recommend using `sh`, check that this implementation *does* support local before continuing.
2024-01-23 03:45:17 -06:00
aarondill
871fe0276f
change installation instructions
...
They now suggest passing to `sh`, rather than `bash`, to match the shebang and reduce posibility that non-posix behaivor of `bash` affects the script.
this was requested by @ajeetdsouza
2024-01-23 03:39:11 -06:00
aarondill
1d875d3abb
fix: test_writable should fail for empty paths
...
This prevents attempting to create files in `/` if a path is not given, instead failing early.
2024-01-23 03:35:50 -06:00
aarondill
8c8a0cf709
reset $sudo when writing man pages.
...
This helps ensure that mismatched permission on `_bin_dir` and `_man_dir` don't cause issues.
Also prevents creating man pages owned by root being written to the user's $HOME
2024-01-23 03:30:47 -06:00
aarondill
c01c75fe41
add -s/--sudo option to choose the sudo command
2024-01-23 03:23:18 -06:00
aarondill
9dd4d4023e
Add support for options in install script
...
This adds support for serveral new command line options (taken from the usage):
- `-b, --bin-dir Override the bin installation directory`
- `-m, --man-dir Override the man installation directory`
- `-a, --arch Override the architecture identified by the installer`
- `-h, --help Display this help message`
This also (coincidentally) allows for $BIN_DIR, $MAN_DIR, and $ARCH to be set to create default settings for these.
These variables are *always* overwritten by the command line arguments.
2024-01-23 03:15:39 -06:00
Ajeet D'Souza
3022cf3686
Fix CI
2023-11-21 02:48:58 +05:30
hackers267
f537a4e6d2
Update min version of Nushell 0.86.0 ( #632 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2023-11-19 14:10:52 +05:30
Ajeet D'Souza
afdcf6bdff
Fix CI
2023-11-19 13:29:11 +05:30
dependabot[bot]
2014a89d50
Bump Swatinem/rust-cache from 2.7.0 to 2.7.1 ( #634 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.7.0...v2.7.1 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
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>
2023-11-19 05:19:01 +05:30
Ajeet D'Souza
073500cbdf
Add Warp sponsorship
2023-10-10 14:27:56 +05:30
dependabot[bot]
a624ceef54
Bump Swatinem/rust-cache from 2.6.2 to 2.7.0 ( #622 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.6.2 to 2.7.0.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.6.2...v2.7.0 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 17:20:53 +05:30
Connor Sullivan
e3ab444976
Specify exact winget id ( #619 )
...
Specifies exact winget identifier
2023-09-11 14:12:25 +05:30
dependabot[bot]
be051f2f5a
Bump cachix/install-nix-action from 22 to 23 ( #616 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 02:28:58 +05:30
dependabot[bot]
bc34c49480
Bump actions/checkout from 3 to 4 ( #615 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 02:28:49 +05:30
Ajeet D'Souza
9cbd029438
Add pacstall instructions
2023-09-03 12:24:13 +05:30
dependabot[bot]
3ca0cf5fc6
Bump Swatinem/rust-cache from 2.6.1 to 2.6.2 ( #611 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.6.1...v2.6.2 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
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>
2023-08-28 01:36:02 +05:30
dependabot[bot]
28563105ba
Bump Swatinem/rust-cache from 2.6.0 to 2.6.1 ( #606 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.6.0...v2.6.1 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
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>
2023-08-15 00:32:47 +05:30
dependabot[bot]
01da2dbff6
Bump Swatinem/rust-cache from 2.5.1 to 2.6.0 ( #603 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.5.1...v2.6.0 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 02:23:28 +05:30
sitiom
66d073ee72
Change Winget Releaser job to `ubuntu-latest` ( #602 )
2023-08-04 10:14:05 +05:30
Ajeet D'Souza
5b9c54881f
Fix crates.io keyword limit
2023-08-04 08:52:03 +05:30
Ajeet D'Souza
1bfcdfacf2
chore(release): v0.9.2
2023-08-04 07:57:38 +05:30
matan h
3898d99f0c
Use `global` scope for PowerShell variables / functions ( #597 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2023-08-04 07:25:48 +05:30
Ajeet D'Souza
42e1d5dd3b
Fix README formatting
2023-07-15 18:33:49 +05:30
Ajeet D'Souza
acf3fcc7fb
Add nix install instructions for macOS
2023-07-11 11:31:55 +05:30
dependabot[bot]
72a49ec9c9
Bump Swatinem/rust-cache from 2.5.0 to 2.5.1 ( #588 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.5.0...v2.5.1 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
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>
2023-07-04 00:29:10 +05:30
Ajeet D'Souza
651fc3c00e
Fix CI
2023-07-03 21:01:55 +05:30
JT
786519aa8f
Update nushell env update syntax ( #587 )
2023-07-01 01:01:08 +05:30
Ajeet D'Souza
5f8974fc5c
Add aerc under third-party integrations
2023-06-26 13:58:15 +05:30
dependabot[bot]
03c465b778
Bump cachix/install-nix-action from 21 to 22 ( #585 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 01:50:58 +05:30
dependabot[bot]
469b858278
Bump Swatinem/rust-cache from 2.4.0 to 2.5.0 ( #584 )
...
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 01:48:51 +05:30
hyperpuncher
e938034423
fix link to arch repo ( #583 )
...
* fix link to arch repo
Community packages were merged to extra.
* fix link title
* fix link title
2023-06-18 12:02:36 +05:30
Ajeet D'Souza
6dedfcd74a
Update clap
2023-06-11 01:08:07 +05:30
Ajeet D'Souza
49e7824c42
Fix CI
2023-06-07 07:27:46 +05:30
mataha
157b221055
Remove underlined text artifacts on Windows ( #581 )
2023-06-07 07:17:20 +05:30
dependabot[bot]
1d64ae0b87
Bump cachix/install-nix-action from 20 to 21 ( #578 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 01:17:59 +05:30
dependabot[bot]
25b4c057fb
Bump Swatinem/rust-cache from 2.3.0 to 2.4.0 ( #575 )
...
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 09:52:38 +05:30
dependabot[bot]
c6ab1012e4
Bump Swatinem/rust-cache from 1.0.2 to 2.3.0 ( #572 )
...
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 1.0.2 to 2.3.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/v1.0.2...v2.3.0 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 04:13:28 +05:30
Ajeet D'Souza
153e060043
Add short option -a for --all
2023-05-09 00:51:26 +05:30
Ajeet D'Souza
e05637ded1
Improve clarity of setup instructions
2023-05-08 22:40:04 +05:30
Ajeet D'Souza
ce8f2395d5
Job-level permission for action
2023-05-07 23:48:30 +05:30
sitiom
54e9f9aa7a
Add Winget Releaser workflow ( #532 )
2023-05-07 22:47:02 +05:30
Ajeet D'Souza
686d116ad5
chore(release): v0.9.1
2023-05-07 21:07:00 +05:30