~/.bashrc contains the following (by default):
if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi
~/.bash_aliases contains the following (my definition):
alias define="curl dict://dict.org/d:$1"
define in there is the alias so I could use something like the following directly in my shell (terminal):
While I expect it to look at dict.org and look up definition of internet and display it to me.
For some reason whenever I run it I get the following (hosted on paste.debian.net, might disappear in time).
I tried sourcing the
~/.bash_aliases in the
bash version 5.0.11 on Debian Bullseye (currently testing, and planned major upcoming release).
What am I doing wrong with my own alias in