Bash Functions Can Be Used as Aliases

Tags: feed

Apparently, bash functions can be used as functions on the .bash_aliases file, AWESOME! 😄

# BLOG
BLOG() {
    cd /home/wip/furayoshi.com/ && \
	hugo new blog/en/"$1".md && \
	emacsclient /home/wip/furayoshi.com/content/blog/en/"$1".md
}

picture of a bash function


Safe Creative

Help the author to continue publishing,
donate now or use an affiliate link.

⭐ Click here to choose ✨

You can also become an Affiliate for my content at this Link



  Made with Bulma   build with   Build with Hugo   hosted on the amazing Contabo and Vultr VPS

  © 2019 Francesco Yoshi Gobbo - PGP 3FC5F028E7AFF594 - ISNI 0000000502954809 - P.IVA / VAT: IT-01572520052

privacy policy | cookie policy