I added the following line to my bashrc:
alias b="xrandr --output HDMI-1 --brightness"
When I open another terminal and run
b 0.1, or
b 1 it says that command "b" is not found.
I have a similar line for vim that works fine though: