Y
Hacker News
new
|
ask
|
show
|
jobs
by
antonkochubey
17 days ago
if you use \which it'll always be a shell built-in ;) though someone can put a different shell in your .zshrc
2 comments
jolmg
17 days ago
$ which() { echo foo; } $ \which foo
The backslash only prevents alias expansion.
link
pepa65
15 days ago
He meant `command which`
link
jolmg
14 days ago
> it'll always be a shell built-in
`command which` wouldn't have been the built-in
link
bandie91
17 days ago
`exec /tmp/fake-bash` in bashrc to intercept everything?
link