I have created a file "~/.aliases" file with the content:
# git stuff
alias ga="git add"
alias gaa="git add ."
in "~/.bashrc" at the top I have this code.
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
. ~/.aliases
I thought this should work but when I run, for example, gaa
in the command line, I get an error.
No command 'gaa' found, did you mean:
Command 'gav' from package 'gav' (universe)
Command 'gap' from package 'gap-core' (universe)
Command 'gpa' from package 'gpa' (universe)
Command 'aa' from package 'astronomical-almanac' (universe)
Command 'gac' from package 'gap-dev' (universe)
Command 'gak' from package 'gui-apt-key' (universe)
gaa: command not found
. ~/.bashrc
or reopened the terminal afterwards?