@[email protected] to [email protected]English • 1 year agoFirst time installing a distro that came with zsh instead of bashi.imgur.comimagemessage-square47fedilinkarrow-up1158arrow-down16file-text
arrow-up1152arrow-down1imageFirst time installing a distro that came with zsh instead of bashi.imgur.com@[email protected] to [email protected]English • 1 year agomessage-square47fedilinkfile-text
minus-square@ThaurinlinkEnglish2•1 year agoWhy is that? You can still use bash to interpret your bash scripts. Where does it annoy you?
minus-squaresamsylinkfedilinkEnglish1•1 year agoI have to switch to bash first, and wonder days later, why I can’t find it (obviously) in my fish history.
minus-square@ThaurinlinkEnglish6•edit-21 year agoI mean, doesn’t the script have a hash bang pointing to the bash interpreter? #!/usr/bin/bash Or you can just run it like: bash script.sh
minus-square@[email protected]linkfedilinkEnglish5•1 year ago#!/usr/bin/env bash for compability. 😉 For example on my system bash is in /bin.
minus-square@ThaurinlinkEnglish5•1 year agoRight, of course. I already do that with Python scripts, but with bash old habits die hard, I guess. :)
minus-squaresamsylinkfedilinkEnglish2•1 year agoI know, well the lazyness is strong in me. Copy and paste.
minus-square@ThaurinlinkEnglish5•edit-21 year agoHuh. It’s the first thing I write in any script. It actually saves me time. What annoys me is a script that doesn’t have a hash bang. :)
Why is that? You can still use bash to interpret your bash scripts. Where does it annoy you?
I have to switch to bash first, and wonder days later, why I can’t find it (obviously) in my fish history.
I mean, doesn’t the script have a hash bang pointing to the bash interpreter?
Or you can just run it like:
#!/usr/bin/env bash
for compability. 😉For example on my system bash is in /bin.
Right, of course. I already do that with Python scripts, but with bash old habits die hard, I guess. :)
I know, well the lazyness is strong in me. Copy and paste.
Huh. It’s the first thing I write in any script. It actually saves me time. What annoys me is a script that doesn’t have a hash bang. :)