mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2025-01-26 08:38:25 +00:00
Update install script to support Windows
This commit is contained in:
parent
56956779b2
commit
03df9d4d1f
@ -131,6 +131,12 @@ zoxide can be installed in 4 easy steps:
|
||||
> | [Chocolatey] | `choco install zoxide` |
|
||||
> | [conda-forge] | `conda install -c conda-forge zoxide` |
|
||||
> | [Scoop] | `scoop install zoxide` |
|
||||
>
|
||||
> If you're using Cygwin, Git Bash, or MSYS2, use the install script instead:
|
||||
>
|
||||
> ```sh
|
||||
> curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash
|
||||
> ```
|
||||
|
||||
</details>
|
||||
|
||||
|
@ -55,6 +55,7 @@ main() {
|
||||
esac
|
||||
ensure mkdir -p "$_bin_dir"
|
||||
ensure cp "$_bin_name" "$_bin_dir"
|
||||
ensure chmod +x "$_bin_dir/$_bin_name"
|
||||
echo "Installed zoxide to $_bin_dir"
|
||||
|
||||
# Install manpages.
|
||||
|
Loading…
x
Reference in New Issue
Block a user