Hi everyone I'm learning how to use the .bashrc file in linux and as my title states I'm wondering how to make a function recognize an argument as an alias
I have an alias called home defined as: alias home=$HOME
and a function go defined as
function go(){
cd $1
ls $1
}
but when I do go home
i get
bash: cd: home: No such file or directory
ls: cannot access home: No such file or directory
when I want it to do go $HOME
how would i go about implementing this?