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?
gsisn't an alias for ghostcript, it's a binary program provided by theghostscriptpackage – steeldriver Jun 30 '16 at 13:50gswhen I have defined an alias for it?" – steeldriver Jun 30 '16 at 13:57~/.zshrcfile? Does it work as expected if you runalias gs="git status"and thengs? – terdon Jun 30 '16 at 14:05git statuswas mapped togst. On mac it isn't. Please add as answer and I will accept – uvasal Jun 30 '16 at 16:01