Public bug reported:
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@Hedy:~/testdir$ alias | grep 'l='\''ls'\'
alias l='ls'
themusicgod1@Hedy:~/testdir$ ls
bar foo
themusicgod1@Hedy:~/testdir$ l
bar foo
themusicgod1@Hedy:~/testdir$ torify l
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][/home/themusicgod1/testdir]alias l ls
[4][Fri Apr 28 10:59:03 2017][/home/themusicgod1/testdir]torify l
l
ERROR: l cannot be found.
[5][Fri Apr 28 10:59:04 2017][/home/themusicgod1/testdir]l
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
** Affects: tor (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687037
Title:
torify does not expand shell aliases
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tor/+bug/1687037/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs