News for hackers. Stuff that matters.
Re:ZSH Aliases by smhmd on Tuesday May 26, 2020 @08:00AM (#23310013)
For suffix aliases, you can bulk them

  alias -s {ape,avi,flv,m4a,mkv,mov,mp3,mp4,mpeg,mpg,ogg,ogm,wav,webm}=mpv
as opposed to defining them one at a time.
Re:ZSH Aliases by chrisfinazzo on Tuesday May 26, 2020 @11:44AM (#23312550)
I can't believe I got all the way through @scriptingosx's book on Zsh and the suffix aliases just went right over my head.

(Self, you idiot)

cd'ing into a directory on the fly without even thinking about paths and just opening files by name is powerful juju

Together With AUTOCD, this feels like it shouldn't be possible...but it is.

Re:ZSH Aliases by thorstenhans on Tuesday May 26, 2020 @08:21AM (#23310198)
thanks for pointing me to this one. I've added a corresponding sample.
Re:ZSH Aliases by matthewbauer on Tuesday May 26, 2020 @05:49PM (#23316839)
Is it possible to get zsh to just open all non executable files with xdg-open?