I'm trying to create a bash alias, where the alias itself has a space in it.
The idea is that the alias (i.e.
con) stands for
sudo openvpn --config /path/to/my/openvpn/configs/. Which results in a readable command, when the
con alias is used.
`con uk.conf` == `sudo openvpn --config /path/to/my/openvpn/configs/uk.conf`
I understand that I can't declare the alias like this:
con ="sudo openvpn --config /path/to/my/openvpn/configs/".
Would bash functions work in this scenario? I've never heard of that, but when researching a solution for this minor issue.