Compare commits

...

2 Commits

Author SHA1 Message Date
d9db8f62ff fish: bump fisher to 4.4.5 2024-09-12 12:25:10 -05:00
f53c2c8ff5 fish: bump nvm.fish to 2.2.15 2024-09-12 12:24:30 -05:00
3 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,6 @@
function _nvm_list function _nvm_list
set --local versions $nvm_data/* set --local versions (string replace --all -- $nvm_data/ "" $nvm_data/*)
set --query versions[1] && set --query versions[1] &&
string match --entire --regex -- (string match --regex -- "v\d.+" $versions | string match --entire --regex -- (string match --regex -- "v\d.+" $versions |
string escape --style=regex | string escape --style=regex |

View File

@ -1,6 +1,6 @@
function fisher --argument-names cmd --description "A plugin manager for Fish" function fisher --argument-names cmd --description "A plugin manager for Fish"
set --query fisher_path || set --local fisher_path $__fish_config_dir set --query fisher_path || set --local fisher_path $__fish_config_dir
set --local fisher_version 4.4.4 set --local fisher_version 4.4.5
set --local fish_plugins $__fish_config_dir/fish_plugins set --local fish_plugins $__fish_config_dir/fish_plugins
switch "$cmd" switch "$cmd"
@ -29,7 +29,7 @@ function fisher --argument-names cmd --description "A plugin manager for Fish"
set --local old_plugins $_fisher_plugins set --local old_plugins $_fisher_plugins
set --local new_plugins set --local new_plugins
test -e $fish_plugins && set --local file_plugins (string match --regex -- '^[^\s]+$' <$fish_plugins) test -e $fish_plugins && set --local file_plugins (string match --regex -- '^[^\s]+$' <$fish_plugins | string replace -- \~ ~)
if ! set --query argv[2] if ! set --query argv[2]
if test "$cmd" != update if test "$cmd" != update
@ -206,7 +206,7 @@ function fisher --argument-names cmd --description "A plugin manager for Fish"
contains -- (string lower -- $plugin) (string lower -- $commit_plugins) || set --append commit_plugins $plugin contains -- (string lower -- $plugin) (string lower -- $commit_plugins) || set --append commit_plugins $plugin
end end
printf "%s\n" $commit_plugins >$fish_plugins string replace --regex -- $HOME \~ $commit_plugins >$fish_plugins
else else
set --erase _fisher_plugins set --erase _fisher_plugins
command rm -f $fish_plugins command rm -f $fish_plugins

View File

@ -29,7 +29,7 @@ function nvm --description "Node version manager"
switch "$cmd" switch "$cmd"
case -v --version case -v --version
echo "nvm, version 2.2.14" echo "nvm, version 2.2.15"
case "" -h --help case "" -h --help
echo "Usage: nvm install <version> Download and activate the specified Node version" echo "Usage: nvm install <version> Download and activate the specified Node version"
echo " nvm install Install the version specified in the nearest .nvmrc file" echo " nvm install Install the version specified in the nearest .nvmrc file"