You are not logged in.
Pages: 1
Hello, is there a way to remove programs from ZSH's list of autocompletion options? Specifically, when I type "chr" and hit tab, I want ZSH to correct this to "chrome" (my alias for chromium) and not show me chromium, chroot, or chromedriver. I can type these commands out in full if necessary.
Offline
compdef -d
Not a Sysadmin issue, moving to NC...
Offline
See also
man 1 zshcompsysSearch for the keyword Jason pointed out.
Offline
In your ~/.zshrc put
alias crm="chrome"Save & exit.
In terminal type
source ~/.zshrcThen type ' crm ' in terminal, chrome will open and you will not lose the zsh autocompletion functionality.
Familiarise yourself with shell aliases, they can be extremely handy.
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
Pages: 1