Skip to content

Commit

Permalink
update:output alias
Browse files Browse the repository at this point in the history
  • Loading branch information
dashixiong91 committed Sep 30, 2019
1 parent c2ab9a4 commit a60ca10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function alias(){
local alias_version_dir=$FVM_VERSIONS_DIR/$alias_name
rm -rf $alias_version_dir
ln -s $target_version_dir $alias_version_dir
print_blue "alias $alias_name to $version!"
}

function list_remote(){
Expand Down Expand Up @@ -163,6 +164,7 @@ function install(){
if [[ ! -d "$FVM_VERSIONS_DIR/latest" ]];then
alias latest $version_short
fi
list
}

function main(){
Expand Down

0 comments on commit a60ca10

Please sign in to comment.