I'm using zsh
which uses gs
as an alias for git status
. But on Ubuntu, gs
is an alias for ghostscript. I tried uninstalling ghostscript, but then I get this instead:
The program 'gs' is currently not installed. You can install it by typing:
sudo apt install ghostscript
zsh: command not found: gs
I've also tried:
unalias gs
As explained here:
But that gives me unalias: no such hash table element: gs
.
How do I solve this?
gs
isn't an alias for ghostcript, it's a binary program provided by theghostscript
package – steeldriver Jun 30 '16 at 13:50gs
when I have defined an alias for it?" – steeldriver Jun 30 '16 at 13:57~/.zshrc
file? Does it work as expected if you runalias gs="git status"
and thengs
? – terdon Jun 30 '16 at 14:05git status
was mapped togst
. On mac it isn't. Please add as answer and I will accept – uvasal Jun 30 '16 at 16:01