In Zsh I use the following global alias:
alias -g L='| less --chop-long-lines'
When executing echo "hello world" L
in Zsh, less
will display the sentence 'hello world'.
How to write a fish function equivalent to a Zsh global alias?
In Zsh I use the following global alias:
alias -g L='| less --chop-long-lines'
When executing echo "hello world" L
in Zsh, less
will display the sentence 'hello world'.
How to write a fish function equivalent to a Zsh global alias?