4 ms·
First thing I do for any *nix install is immediately install Fish. Like many younger computer users I prefer rainbow barf.
by thebitstick 4y ago
First thing I do for any *nix install is immediately install Fish. Like many younger computer users I prefer rainbow barf.
- plandis 4y agoYeah, I switched to fish about 1.5yrs ago and for me it’s defaults are way better, fish script is way more readable and it’s really easy to customize.
- noisy_boy 4y agoI tried fish and really liked it until I tried to run one of my numerous helper scripts and was faced with syntax error; too lazy to update so many scripts.
- saila 4y agoDid you try "bash <script>" or adding a #! line, which scripts should generally have anyway?
- flohofwoe 4y agoNot the op, but that only worked half of the time when running install scripts from the internet. To make it really work you basically had to setup and maintain a full bash environment in parallel to the fish environment (env variables, paths, etc...). Most software packages out there really expect that you're running in a bash-compatible environment.
- abdusco 4y agoI launch a bash shell, which inherits parent fish shell's env, then run the command and exit back to fish.
- noisy_boy 4y agoAll my scripts have "#!/usr/bin/env bash" at the top but in some cases that didn't help. Also, I think some bash specific bits in my .bashrc had syntax errors. Eventually I just didn't want to deal with the hassle of switching over.
- flohofwoe 4y agoSame for me, later I switched back to zsh after I discovered this plugin: https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-autosuggestions Best of both world really.