You may like this... https://github.com/ktr0731/salias ---Original--- From: "Leonardo dos Reis Gama" Date: Sat, Sep 1, 2018 05:55 AM To: "zsh-users"; Subject: Subcommand dispatcher and alias factory Hi there! I'm new here... It's a common theme: you have a program with subcommands and want to alter its default behaviour somehow (what would be easy to do for a common command with a simple alias or function). Or, if you feel adventurous, you may want to create your own subcommand. Git, for example, solve both problems seamlessly with its "git aliases" and by looking for a "git-myfancysubcommand" executable in your path when confronted with an unknown subcommand. Is there any zsh plugin that implements either of these features for *any command*? I could not find one. If there isn't such a thing, I would be happy to create it! Some previous discussions about the issue: https://unix.stackexchange.com/questions/48862/how-can-i-create-an-alias-for-a-git-action-command-which-includes-spaces https://www.zsh.org/mla/users//2014/msg01067.html https://stackoverflow.com/questions/34748747/can-i-alias-a-subcommand-shortening-the-output-of-docker-ps https://stackoverflow.com/questions/40654352/how-to-write-an-alias-for-two-words https://eklitzke.org/bash-subcommand-aliases Thank you for your attention, Leonardo Gama [image: https://]about.me/leogama