mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-23 08:46:51 +03:00
Make version number not a universal variable
This commit is contained in:
parent
1f51788879
commit
3874f285a2
@ -84,9 +84,9 @@ Note that Tide does not use strict semantic versioning.
|
||||
|
||||
Todo on release:
|
||||
|
||||
- [ ] Update `_tide_version` in install script.
|
||||
- [ ] Create a commit containing above edit, titled with the version number.
|
||||
- [ ] Create release on github with information from changelog.
|
||||
- [ ] Update version number in install `tide.fish`
|
||||
- [ ] Make a commit containing above edit, titled with the version number
|
||||
- [ ] Create release on github with information from changelog
|
||||
|
||||
[`fish --no-execute`]: https://fishshell.com/docs/current/cmds/fish.html
|
||||
[`fish_indent`]: https://fishshell.com/docs/current/cmds/fish_indent.html
|
||||
|
@ -6,7 +6,6 @@ function _tide_init_install --on-event _tide_init_install
|
||||
_set_immutable _tide_color_light_blue 00AFFF
|
||||
|
||||
_set_immutable _tide_dir "$__fish_config_dir/functions/tide"
|
||||
_set_immutable _tide_version 2.5.0
|
||||
|
||||
_set_immutable NVM_DIR $HOME/.nvm
|
||||
_set_immutable VIRTUAL_ENV_DISABLE_PROMPT true
|
||||
|
@ -2,7 +2,7 @@ function tide
|
||||
argparse --stop-nonopt 'v/version' 'h/help' -- $argv
|
||||
|
||||
if set -q _flag_version
|
||||
printf '%s\n' "tide, version $_tide_version"
|
||||
printf '%s\n' "tide, version 2.5.0"
|
||||
else if set -q _flag_help
|
||||
_tide_help
|
||||
else if functions --query _tide_sub_$argv[1]
|
||||
|
Loading…
Reference in New Issue
Block a user