this post was submitted on 16 Jul 2023
181 points (97.4% liked)
linuxmasterrace
2166 readers
1 users here now
A community for Linux enthusiasts.
May your htop stats be low and your beard grow long
Welcome to [email protected] former r/linuxmasterrace members and existing Lemmyverse citizens: Feel free to join the newly created [email protected] community.
Let’s make the full transition to the decentralized Fediverse!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I love fish, only it annoys me, if I want to run a bash script.
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.