diff --git a/functions b/functions index b18011c..28ae239 100644 --- a/functions +++ b/functions @@ -1,10 +1,3 @@ get_stack () { - if [[ ! -z $1 && $1 == "wc" ]];then - ls $install_dir/stack | wc -l - else - ls $install_dir/stack | tail -1 - fi + ls $install_dir/stack | tail -1 } - - -