Skip to content

Commit

Permalink
v6
Browse files Browse the repository at this point in the history
  • Loading branch information
IlanCosman committed Oct 4, 2023
1 parent c536562 commit af67746
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -588,3 +588,4 @@
[v5.5.0]: https://github.com/IlanCosman/tide/tree/v5.5.0
[v5.5.1]: https://github.com/IlanCosman/tide/tree/v5.5.1
[v5.6.0]: https://github.com/IlanCosman/tide/tree/v5.6.0
[v6.0.0]: https://github.com/IlanCosman/tide/tree/v6.0.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Install with [Fisher][]:

```console
fisher install IlanCosman/tide@v5
fisher install IlanCosman/tide@v6
```

<details>
Expand All @@ -30,7 +30,7 @@ This script may not work for all use cases.

```fish
set -l _tide_tmp_dir (command mktemp -d)
curl https://codeload.github.com/ilancosman/tide/tar.gz/v5 | tar -xzC $_tide_tmp_dir
curl https://codeload.github.com/ilancosman/tide/tar.gz/v6 | tar -xzC $_tide_tmp_dir
command cp -R $_tide_tmp_dir/*/{completions,conf.d,functions} $__fish_config_dir
fish_path=(status fish-path) exec $fish_path -C "emit _tide_init_install"
```
Expand Down
4 changes: 2 additions & 2 deletions conf.d/_tide_init.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function _tide_init_install --on-event _tide_init_install
if contains ilancosman/tide (string lower $_fisher_plugins)
set_color bryellow
echo "ilancosman/tide is a development branch. Please install from a release tag:"
_tide_fish_colorize "fisher install ilancosman/tide@v5"
_tide_fish_colorize "fisher install ilancosman/tide@v6"
sleep 3
end

Expand All @@ -29,7 +29,7 @@ function _tide_init_update --on-event _tide_init_update
if contains ilancosman/tide (string lower $_fisher_plugins)
set_color bryellow
echo "ilancosman/tide is a development branch. Please install from a release tag:"
_tide_fish_colorize "fisher install ilancosman/tide@v5"
_tide_fish_colorize "fisher install ilancosman/tide@v6"
sleep 3
end
end
Expand Down
2 changes: 1 addition & 1 deletion functions/_tide_sub_bug-report.fish
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function _tide_sub_bug-report
if set -q _flag_clean
HOME=(mktemp -d) $fish_path --init-command "curl --silent \
https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish |
source && fisher install ilancosman/tide@v5"
source && fisher install ilancosman/tide@v6"
else if set -q _flag_verbose
set --long | string match -r "^_?tide.*" | # Get only tide variables
string match -r --invert "^_tide_prompt_var.*" # Remove _tide_prompt_var
Expand Down
2 changes: 1 addition & 1 deletion functions/tide.fish
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function tide --description 'Manage your Tide prompt'
argparse --stop-nonopt v/version h/help -- $argv

if set -q _flag_version
echo 'tide, version 5.6.0'
echo 'tide, version 6.0.0'
else if set -q _flag_help
_tide_help
else if functions --query _tide_sub_$argv[1]
Expand Down

0 comments on commit af67746

Please sign in to comment.