This issue prevents setting up a simple Bash alias that always uses LXD.
I would like to define the following alias:
~/.bash_aliases --------------- alias snapcraft='snapcraft --use-lxd'
The workaround is to define a function with a different name that puts the option at the end of the command line, like this:
~/.bash_aliases --------------- function sc() { snapcraft $@ --use-lxd }
This issue prevents setting up a simple Bash alias that always uses LXD.
I would like to define the following alias:
~/.bash_aliases 'snapcraft --use-lxd'
---------------
alias snapcraft=
The workaround is to define a function with a different name that puts the option at the end of the command line, like this:
~/.bash_aliases
---------------
function sc() {
snapcraft $@ --use-lxd
}