this post was submitted on 16 Jul 2023
182 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 !linuxmasterrace@feddit.de former r/linuxmasterrace members and existing Lemmyverse citizens: Feel free to join the newly created !linuxmasterrace@feddit.de community.

Let’s make the full transition to the decentralized Fediverse!

founded 1 year ago
MODERATORS
 

I’m moving my posts from Reddit to Lemmy before delete them.

This post is from 2020-09-03.

you are viewing a single comment's thread
view the rest of the comments
[–] Thaurin@lemmy.world 13 points 1 year ago (3 children)

Try fish with the tide plugin and the fzf plugin. I can never go back to anything else.

[–] samsy@feddit.de 2 points 1 year ago (1 children)

I love fish, only it annoys me, if I want to run a bash script.

[–] Thaurin@lemmy.world 2 points 1 year ago (1 children)

Why is that? You can still use bash to interpret your bash scripts. Where does it annoy you?

[–] samsy@feddit.de 1 points 1 year ago (1 children)

I have to switch to bash first, and wonder days later, why I can't find it (obviously) in my fish history.

[–] Thaurin@lemmy.world 6 points 1 year ago* (last edited 1 year ago) (2 children)

I 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
[–] Zucca@sopuli.xyz 5 points 1 year ago (1 children)

#!/usr/bin/env bash for compability. 😉

For example on my system bash is in /bin.

[–] Thaurin@lemmy.world 5 points 1 year ago

Right, of course. I already do that with Python scripts, but with bash old habits die hard, I guess. :)

[–] samsy@feddit.de 2 points 1 year ago (1 children)

I know, well the lazyness is strong in me. Copy and paste.

[–] Thaurin@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

Huh. It’s the first thing I write in any script. :) It actually saves me time.

[–] muhyb@programming.dev 1 points 1 year ago

Haven't tried fish yet but fzf is a godsend.