diff --git a/topgrade.aliases b/topgrade.aliases index d4f0847..b857db8 100644 --- a/topgrade.aliases +++ b/topgrade.aliases @@ -14,22 +14,26 @@ topgrade-conf-pull () fi } -topgrade () -{ - echo "test" - if [ -f "$topgrade_path" ] ; then - $topgrade_path - else - echo "topgrade not found at $topgrade_path" - fi -} +alias topgrade='$topgrade_path' # System Updates Only -sysup () -{ - if [ -f "$topgrade_path" ] ; then - $topgrade_path --config $topgrade_conf_path/systemonly.toml - else - echo "topgrade not found at $topgrade_path" - fi -} +alias sysup='$topgrade_path --config $topgrade_conf_path/systemonly.toml' + +#topgrade () +#{ + #if [ -f "$topgrade_path" ] ; then + # "$topgrade_path" + #else + # echo "topgrade not found at $topgrade_path" + #fi +#} + +# System Updates Only +#sysup () +#{ +# if [ -f "$topgrade_path" ] ; then +# "$topgrade_path" --config $topgrade_conf_path/systemonly.toml +# else +# echo "topgrade not found at $topgrade_path" +# fi +#}