Stop ZSH from trying to correct ssh to .ssh as an argument
6
votes
1
answer
1806
views
This isn't exactly a duplicate, as I want correct_all still active. I do mess up arguments from time to time and ZSH is happy to help me. The rub happens when I am in my home directory and I want to manage sshd with something like
systemctl reload ssh
or service ssh start
it always asks me if I want to correct to .ssh
. I usually perform my work in $HOME
so this gets rather annoying. I have already tried alias ssh='nocorrect ssh'
and alias ssh='nocorrectall ssh'
(which I don't think does anything). Any ideas on how to solve this?
Asked by user52470
(260 rep)
Feb 7, 2018, 03:51 AM
Last activity: Feb 7, 2018, 07:39 AM
Last activity: Feb 7, 2018, 07:39 AM