Does not expand shell aliases
Copied by the Debian bugtracker https://bugs.debian.org/909517:
It is often handy to create shell aliases to do tasks that would otherwise require a lot
of retyping the same thing over and over. For example git push
might very well be
aliased to push
at the shell level by
alias push='git push'
then you could conceivably use
torsocks push
as a shorthand for
torify git push <git url>
this however fails: torsocks
does not expand the aliases and doesn't know what push
is.
As mentioned in the ubuntu downstream bug
it doesn't matter what shell you use, torsocks
just doesn't check.
what happens: torsocks
takes the arguments passed in without checking if there are aliases involved
what should happen: is torsocks
should be alias-aware.