0

I added the following line to my bashrc:

alias b="xrandr --output HDMI-1 --brightness"

When I open another terminal and run b, 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:

alias v="vim"

What gives?

ctrl-alt-delor
  • 27,473
  • 9
  • 58
  • 102
mtheorylord
  • 123
  • 6
  • 1
    Possible duplicate of [Refresh aliases and functions after defining new aliases and functions?](https://unix.stackexchange.com/questions/22919/refresh-aliases-and-functions-after-defining-new-aliases-and-functions) – GAD3R Jun 17 '19 at 19:42

1 Answers1

1

To apply changes , run :

source .bashrc

Also you can log out then log in instead.

GAD3R
  • 63,407
  • 31
  • 131
  • 192