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

View File

@ -1,10 +1,8 @@
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 --entire --regex -- (string match --regex -- "v\d.+" $versions |
string replace --all -- $nvm_data/ "" $versions |
string match --regex -- "v\d.+" |
string escape --style=regex | string escape --style=regex |
string join "|" string join "|"
) <$nvm_data/.index ) <$nvm_data/.index

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.16" 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"