I don’t have the time nor space to it right now. I don’t want to convert my functions and aliases into Fish syntax. ![]() # Set alias in Bash alias dt = " cd ~/Desktop " The biggest difference (to me) is Fish doesn’t have aliases. # Set variable in Fish set name ' Zell Liew ' # Set variable in Bash NAME = ' Zell Liew ' Here’s an example of how you’d set variables Fish vs Bash. Fish syntax vs Bash syntaxįish syntax is simply just different. I don’t want to convert them into the Fish. I use Zsh because I have a bunch of aliases and functions written in Bash. You also need to be able to download plugins and put them in the. For Zsh, you need to be able to edit the. You don’t need any Bash chops to install Fish and Fish themes. I recommend Fish because it’s easy to get started. This saves some keystrokes and unnecessary frustrations.īrilliant. You’ll know whether you’re typing anything wrong before you hit enter. It shows you whether your command exists before you even hit enter. This was something I never saw before, until today. It can even give you suggestions from the man page. These suggestions are in gray.įish knows about paths and options. On first glance, Fish stands out because it comes with these two features out of the box:įish suggests commands as you type. You can still create aliases, write functions, export variables, and run commands. Functionally (again), there’s nothing much different between Fish, Bash, or Zsh. ZSH_THEME = " avit " Fishįish (again) is another shell. Here’s how my shell looks today (with the avit theme). ![]() You can also include plugins to make Bash-ing easier than before! You can find out more about the themes here. Oh-my-zsh let you switch between built-in themes by changing one line of code. You can change the theme and colour of your shell without much programming capabilities.Īll we had to do was install a “package manager” of sorts called oh-my-zsh. What Zsh brings to the picture is colour customisation. You can also create aliases, make functions, export variables, and run commands. Zshįunctionally, there’s nothing different between Zsh and Bash. I have no idea how to do it (nor do I have the programming chops and patience to try this for myself). Some people managed to make Bash shells look amazing. You can create aliases, make functions, export variables, and run commands. If you open up a Terminal on Mac, or if you used Linux before, you’ve seen Bash. I want to share which one I chose and how I went about setting it up. But how would Fish fare? I’ve heard great things about it, so I tried it out. ![]() The three main ones out there are Bash, Zsh, and Fish. When I set up my computer, I had the chance to take another look at the shell I’m using.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |