Blog
Collections
Photographs
Snippets
Metrics
About
//
//
BlogCollectionsPhotographsSnippetsMetricsAbout
Category:
placeholder
Previous:
Next:
Global Aliases
May 2021

If you want to alias a bunch of arguments for a command, use global aliases:

alias -g foo="some complicated options"

grep some complicated options

becomes: grep foo

https://www.thorsten-hans.com/5-types-of-zsh-aliases/

← Go back
John Mathews
•
© 2023