From 5127f056b65e8d2442e8c433111306849f82d846 Mon Sep 17 00:00:00 2001 From: Nanda Lopes Date: Fri, 12 Mar 2021 20:35:29 -0300 Subject: [PATCH] Updated Examples (markdown) --- Examples.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Examples.md b/Examples.md index 1dfa596..1409b26 100644 --- a/Examples.md +++ b/Examples.md @@ -888,18 +888,12 @@ To search for windows and show which is currently active, add [ftwind](https://g vmi() { local lang=${1} - if [[ $platform == 'linux' ]]; then - local tac="tac" - elif [[ $platform == 'darwin' ]]; then - local tac="tail -r" - fi - if [[ ! $lang ]]; then lang=$(asdf plugin-list | fzf) fi if [[ $lang ]]; then - local versions=$(asdf list-all $lang | $tac | fzf --multi) + local versions=$(asdf list-all $lang | fzf --tac --no-sort --multi) if [[ $versions ]]; then for version in $(echo $versions); do; asdf install $lang $version; done;