3 ms·
> (i also prefer the fish syntax, but that is more of a matter of taste and getting used to) IMO one of the biggest advantages of zsh is it's almost 100% compa
by nickjj 4y ago
> (i also prefer the fish syntax, but that is more of a matter of taste and getting used to)
IMO one of the biggest advantages of zsh is it's almost 100% compatible with Bash. If I'm in my shell and want to run an adhoc command with a for loop I want to do it with Bash's syntax, not learn a new Fish syntax. Having to manually drop into `bash` to run a bunch of commands is too inconvenient. Also you'll find most examples online using POSIX shell or Bash compatible syntax. You can carry over those to your dedicated scripts and adhoc commands. Your knowledge becomes shared.
- EdwardDiego 4y agoA Fish for loop is near identical to a Bash for loop, it simply omits the "do".
- HopenHeyHi 4y agoUse bass to drop down to bash from fish :) https://github.com/edc/bass https://github.com/edc/bass