TIL
Alias filetypes
29.01.2023Creating aliases with -s
enables aliasing commands too files types. Thus, with the alias alias -s txt=less
turns ./file.txt
into less ./file.txt
Other examples:
alias -s md=glowalias -s html=openalias -s txt=lessalias -s json=jq