torify does not expand shell aliases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tor (Debian) |
New
|
Unknown
|
|||
tor (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
It is sometimes handy to be able to be able to set up aliases via your shell that allow you to type something complicated in a shorter way. Shells like bash support this via 'alias'.
bash:
themusicgod1@
alias l='ls'
themusicgod1@
bar foo
themusicgod1@
bar foo
themusicgod1@
ERROR: l cannot be found.
Obviously ls doesn't use network so there's no benefit here, but there are commands that have complicated arguments that you can continually type and retype(think: ssh or git) that it is useful to be able to 'alias' these away. Especially if you're in an environment with a lot of people typing the same thing over and over without fully understanding it (at first) eg a school environment with students.
This doesn't just happen with bash but also with zsh and my own shell (ass):
zsh:
Hedy% alias l='ls'
Hedy% l
bar foo
Hedy% torify l
ERROR: l cannot be found.
ass:
[3][Fri Apr 28 10:58:59 2017][/
[4][Fri Apr 28 10:59:03 2017][/
l
ERROR: l cannot be found.
[5][Fri Apr 28 10:59:04 2017][/
bar foo testme
Ubuntu: 17.04 zesty
tor: 0.2.9.10-1ubuntu1
ass: 0.3.7.4
zsh: 5.2-5ubuntu1
bash: 4.4-2ubuntu1
tags: | added: zesty |
tags: | added: artful |
tags: | added: bionic |
tags: | added: cosmic |
Changed in tor (Debian): | |
status: | Unknown → New |
tags: | added: disco |
tags: | added: eoan |
tags: | added: focal |
tags: | added: jammy |
tags: | added: kinetic |
tags: | added: lunar |
tags: | added: mantic |