A Fish Script for Creating New Hugo Posts

I’ve streamlined my blogging process using Hugo by automating tasks with the Fish Shell. I created a simple script that saves me a few minutes each time I write a new post. It automatically starts a new Hugo post and opens it in Helix editor, allowing me to write, save, and publish with ease. File name: new_til.fish function new_til -d "Create a new Today I learned post on Hugo" set blog_path ~/sites/blog set date_str (date +%Y-%m-%d) cd $blog_path hugo new til/$date_str-$argv[1]....

11 February 2025 · 1 min

Fish shell

After using ZSH for a couple of years, I decided to switch back to the Fish shell. Fish works out of the box, batteries included, and the basic installation provides all the features I expect from a shell environment. For over 20 years, I have been using Unix-based systems, including SCO Unix, Solaris, and BSDi. I have been using Linux since 1996, and Slackware was the first Linux distribution I used, and now I’m a happy Fedora user....

29 March 2024 · 2 min