Skip to content

Commit

Permalink
Update install script to support Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeetdsouza committed Apr 30, 2023
1 parent 5695677 commit 03df9d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 03df9d4

Please sign in to comment.