0

I'm trying to write a script that recursively calls to a command that I defined in my .bashrc using alias name-of-function ='path-to-find-it' but each time I get the error command not found. If i copy paste each line from the script into the terminal it works, but by simply going bash SHELL.sh (or sh SHELL.sh) it doesn't work... I guess it's not reading from the .bashrc maybe? is there a way to make sure it reads from that?

Mrcs
  • 1

0 Answers0