From af67746044ef65b9d8dea7cd9dddd32439574343 Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Tue, 3 Oct 2023 21:16:59 -0700 Subject: [PATCH] v6 --- CHANGELOG.md | 1 + README.md | 4 ++-- conf.d/_tide_init.fish | 4 ++-- functions/_tide_sub_bug-report.fish | 2 +- functions/tide.fish | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6613724..a6edd85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 6ff2057..c0885c7 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Install with [Fisher][]: ```console -fisher install IlanCosman/tide@v5 +fisher install IlanCosman/tide@v6 ```
@@ -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" ``` diff --git a/conf.d/_tide_init.fish b/conf.d/_tide_init.fish index a8fce73..5d01510 100644 --- a/conf.d/_tide_init.fish +++ b/conf.d/_tide_init.fish @@ -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 @@ -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 diff --git a/functions/_tide_sub_bug-report.fish b/functions/_tide_sub_bug-report.fish index 5f087c8..a8065c8 100644 --- a/functions/_tide_sub_bug-report.fish +++ b/functions/_tide_sub_bug-report.fish @@ -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 diff --git a/functions/tide.fish b/functions/tide.fish index 3ae06a3..174df1d 100644 --- a/functions/tide.fish +++ b/functions/tide.fish @@ -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]