Compare commits

..

No commits in common. "96be2560c30368d5c4b0bff61454bb6c19b973fd" and "d9db8f62ffd367e09d03073fec98fc59039c8ef4" have entirely different histories.

3 changed files with 3 additions and 8 deletions

View File

@ -16,7 +16,6 @@ function __fzf_files
--ansi \
--info=inline-right \
--scheme=path \
--highlight-line \
--preview='bat --style=numbers --color=always {}' \
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
--bind='?:toggle-preview' \
@ -48,7 +47,6 @@ function __fzf_git_log
--ansi \
--info=inline-right \
--scheme=history \
--highlight-line \
--preview="git show {2} $argv | delta" \
--preview-window='right,70%,wrap,hidden,<100(bottom,50%,hidden)' \
--bind='?:toggle-preview' \
@ -71,7 +69,6 @@ function __fzf_history
--read0 \
--info=inline-right \
--scheme=history \
--highlight-line \
--query=(commandline) \
--preview='echo {3..}' \
--preview-window='down,10,wrap,hidden' \

View File

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

View File

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