Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

complete command's parameters with oh-my-zsh

Is there a way to make zsh complete parameters of commands (just like the fish shell do). For example, when I type ls -- and use TAB it will pop up a list of all ls parameters.

I know that I can use fish shell for this, and I know that fish shell is amazing, but there is a lot of missing functionalities in the fish shell. That's why I am looking to bring this parameter completion in zsh.

like image 644
Sidahmed Avatar asked Jun 11 '16 13:06

Sidahmed


1 Answers

Try with single hyphen, like ls -. All built in commands are working fine. Btw for custom oh-my-zsh plugin autocompletion, it depends on plugin configuration.

like image 173
Rafiqul Hasan Avatar answered Oct 16 '22 01:10

Rafiqul Hasan