Skip to content

Instantly share code, notes, and snippets.

@tororutsu
Created January 6, 2022 04:55
Show Gist options
  • Save tororutsu/ba9463af1c00d465058bed9674204bc5 to your computer and use it in GitHub Desktop.
Save tororutsu/ba9463af1c00d465058bed9674204bc5 to your computer and use it in GitHub Desktop.

Fish and Me

You got Bash, you got zsh, then you got fish! Bash is the standard shell on most Linux distributions. It use to be standard on MacOS as well until they switched over to zsh. Then you got a small portion of the UNIX world who uses fish! I say small because fish is not a POSIX compliant shell. POSIX stands for "Portable Operating System Interface". By being compliant with POSIX means you follow a standard api that makes cross-platform development a lot easier. Essentially that means that fish was not designed as a n extenstion of sh which is a very old UNIX shell, that was replaced by bash. So why use fish you ask, well lets find out!

Fish are Friendly?

Are fish friendly? Well according to the guys over at fishshell YES!! Fish stands for the "Friendly Interactive Shell" It is meant to be user friendly right out the box.

By default the fish shell does not look like that, I use Starship! Which adds on some cool little goodies! You know something must be true when it is printed in plain sight! Right?

Some Features

Right off the bath the biggest thing that people like about the fish shell is that it has syntax highlighting! This shows you the difference between commands and arguements! Its very useful for quick looks. Another feature that is built in that seperates fish from the rest is its autocomplete!

As you can see before I even finish typing fish is recommending my a file, that is based of prior usage or current context!

TBH

TBH this blog post is incomplete! I told myself I would post three days a week, but I was unprepared with what I wanted to do! So here I am rushing to finish this because I said I would. Sorry for being unfair but this is my blog, so see you next time!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment