Alias: binds with multiple arguments
//ads -- adsterra.com -- native banner
?>
I want to create an alias, that runs a bind with 2 arguments (forward and getout)
alias +ERw "+forward;getout" // This creates a variable with 2 arguments if you press the button
alias -ERw "-forward;getout" // This creates a variable with 2 arguments if you release the button
alias ERw "bind w +ERw" // This creates a variable to bind it to the button "w"
If I call ERw, it doesn't do anything, but if I enter "bind w +ERw" in the console, it does actually work.
What't the problem, why doesn't it work?
Pictures about "Alias: binds with multiple arguments"



Advance ZSH Aliases | Command Line Productivity
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Edward Jenner, Edward Jenner, Edward Jenner, Edward Jenner
