From 9fef227f5eb763f8a362196937611c26e729b011 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 3 Mar 2022 15:09:52 -0300 Subject: [PATCH] =?UTF-8?q?get=5Fstack=20solo=20trae=20el=20=C3=BAltimo=20?= =?UTF-8?q?archivo=20de=20la=20cola?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit las funciones hacen una sola cosa --- functions | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 } - - -