r/fishshell • • Jul 29 '22

You’re Missing Out on The Best Terminal Experience

Thumbnail
sebastiancarlos.medium.com
0 Upvotes

r/fishshell • • Jan 10 '24

Nice little subcommands for fish.

Thumbnail
github.com
0 Upvotes

r/fishshell • • Mar 21 '26

agent-stats - see your Claude Code, Codex, and Gemini CLI usage right in your fish prompt

0 Upvotes

I've been using Claude Code and Gemini CLI a lot lately and kept losing track of how much of my rate limit I'd burned through. So I wrote a fish plugin that pulls usage stats from their local data and puts them in my right prompt.

It supports Claude Code, OpenAI Codex, and Gemini CLI. You can enable whichever ones you actually use. The right prompt shows rate limit percentages (green/yellow/red) and token counts. There's also a compact mode and a detailed mode with 7-day daily breakdowns and per-model stats if you want to dig into it.

Everything reads from local files each tool already writes to disk, so no API keys or extra setup beyond the plugin itself.

Install with Fisher:

fisher install skyline69/agent-stats-fish

Then enable what you need:

agent-stats enable claude
agent-stats enable codex
agent-stats enable gemini

GitHub: https://github.com/skyline69/agent-stats-fish

Would love to hear if anyone finds this useful or runs into issues. First fish plugin I've published.


r/fishshell • • Dec 09 '25

scrap.fish - Scrap folder generator for the Fish shell.

Thumbnail github.com
2 Upvotes

r/fishshell • • Nov 17 '23

Had a terrible experience using fish shell after switching from bash

6 Upvotes

Installed fish as I really wanted autocompletion and all the cool features it has over a regular bash shell.

But it turned out to be a complete nightmare. The install instructions incredibly vague on linux. Setting it as the default shell was weird. (Simply added fish to the end of my .bashrc). But it was so frustrating to find out all my bash functions and aliases had to be rewritten (different syntax).

Then I had issues with sourcing my Anaconda environments. NodeJS and NPM we're giving me all sorts of trouble. Fish refused to install the node version I wanted. And after some googling I failed to set my PATH to the corresponding node library.

I'm just curious if anyone has had similar experiences.


r/fishshell • • Nov 30 '20

[Plugin] emc.fish - Edit My Config

5 Upvotes

Edit My Config was made for those who, like me, are tired of typing long commands.

With it you can open the configuration files easily.

More information:

emc.fish

Installation:

fisher install demartini/emc.fish

Any feedback is welcome!


r/fishshell • • Aug 11 '24

How to execute commands in bash from fish?

0 Upvotes

r/fishshell • • Mar 25 '24

Fish installing old versions of npm and node

0 Upvotes

Just discovered fish and installed it on Windows WSL (Ubuntu).

But when I tried to run npm it couldn't find npm previously installed in bash. So I did "sudo apt install npm" in fish. But the node scripts I use didn't worked because it's an old version of npm that fish installed.

The solution was:

# Install fisher
curl -sL  | source && fisher install jorgebucaran/fisher

# Install nvm.fish
fisher install jorgebucaran/nvm.fish

# Install latest version of node
nvm install latesthttps://git.io/fishernvm.fishnvm.fishnvm.fish

Indeed, every time I restarted the terminal npm was not found again, requiring "nvm use latest" to make it work. But this solved the problem:

set --universal nvm_default_version latest

Wrote it here to let it registered.

Greetings, Márcio


r/fishshell • • Oct 01 '23

Better performance after the rewrite in Rust?

0 Upvotes

I read somewhere that currently the performance of fish is not optimal due to unnecessary string conversions. Would the situation be improved with the Rust rewrite?


r/fishshell • • Apr 04 '21

disable aur search when entering an invalid command

1 Upvotes

how can i disable the feature, which queries the aur for a command i have not installed.
i just want it to fail and go to a new line, but i get:

fish: unkown command: <command>
can be found in repo <command repo>

the second line is not word by word but along these lines.

reasoning is just that it takes time every time i misstype or so (about 1s each time)


r/fishshell • • Dec 27 '20

🐟 New release, Pure v3.4.1: 🚀 Prefix prompt when logged in as root

0 Upvotes

Install instruction:

fisher install rafaelrinaldi/pure

Info: https://github.com/rafaelrinaldi/pure/releases/tag/v3.4.1


r/fishshell • • Mar 03 '16

Oh My Fish is back!

Thumbnail
github.com
21 Upvotes

r/fishshell • • Dec 18 '24

Fish to Bash (with plugins): Is Fish still necessary?

0 Upvotes

Been a Fish user for a while, but I've recently switched to Bash with a bunch of plugins (zoxide, fzf, bat, lsd). Combined with GitHub Copilot in the CLI and fzf-git integration, I'm finding Bash surprisingly powerful. Does Fish still offer significant advantages these days (except syntax highlighting)? Curious to hear others' thoughts.


r/fishshell • • Sep 29 '22

Please +1 This Support Fish Abbreviations in Warp Terminal Issue

Thumbnail
github.com
6 Upvotes

r/fishshell • • Aug 11 '22

Automatically pick between curl and wget

3 Upvotes

I would like to get my script to also work with fish shell if possible. How would you best re-write this?

if which curl >/dev/null ; then
    printf "Downloading via curl."
    curl --option argument
elif which wget >/dev/null ; then
    printf "Downloading via wget."
    wget --option argument
else
    printf "I am sorry, I cannot download. Neither curl nor wget is available."
fi

edit ----

SOLUTION:

 wget -L -O "FirefoxStable.tar.bz2" "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64" >/dev/null || curl -L -o "FirefoxStable.tar.bz2" "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64"

I may, unfortunately, lose the fail notice, but this is an acceptable loss.

edit 2 ----

Solution 2

So there is a way to get the error message to display without it being triggered unnecessarily. The solution was as simple as telling it to move on to another script. I don't know why that is the case, but it works! So adding ./error.sh at the end of the sequence is the final resolve.

wget -L -O "FirefoxStable.tar.bz2" "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64" >/dev/null || curl -L -o "FirefoxStable.tar.bz2" "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64" || /.error.sh ;

r/fishshell • • Jun 08 '24

which : No Tree

0 Upvotes

hey there when i open my terminal i have fish set as my default sheel, everything works right but i have theis error well i think it is a error at the top can anyone help.

which: no tree in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)


r/fishshell • • Mar 11 '21

Help needed with *if fish do... Els (bash)..*.

0 Upvotes

I have a command that i phone my server with to give me some status back to be displayed with KWFT on my phone, my problem is, if use the command with fish, my command breaks. So i need to use bash -c 'COMMAND' instead.

So my question is, is there a way I can do a script, so if i forgot to install fish, it will display my bash command, and if fish, it will run with the bash -c command instead?

Edit: If someone is curious of what my command do, it's for my widget on my phone that is updating on every screen unlock.


r/fishshell • • Nov 27 '21

Where is the PS1(Prompt) location in fish config?

1 Upvotes

For example we export PS1 in bash, simmilarly where is that info located in fish?


r/fishshell • • Sep 24 '22

Plz help me about how to set the powerline theme of bobthefish?

0 Upvotes

Here is my issue about my question, but it havent been replied for several month. So I ask for help here.

https://github.com/oh-my-fish/theme-bobthefish/issues/332

I already set the config in `fish.config` and change the font to nerdfont. But still cant get the powerline prompt. How to fix this? I read a post about this seems something wrong with the fish function but I cant find the original post.


r/fishshell • • Nov 11 '18

A helpful wrapper around base16-shell

Thumbnail
github.com
1 Upvotes

r/fishshell • • May 17 '23

Autosuggestions like the ones offered by zsh-autosuggestions

1 Upvotes

Is it possible to get something like this in fish? `fish` shows the flags when I hit tab, but I was wondering if it can display it as I type the commands


r/fishshell • • Jun 16 '21

welcome to fish message

1 Upvotes

how does one make fish not autostart the welcome to fish message?


r/fishshell • • Jul 01 '24

New Fish user, think I have syntax issues.

1 Upvotes

As the title says, I'm new to Fish by way of having recently installed Garuda. I'm trying to install a Linux driver for the Logitech G13 gamepad from https://github.com/jtgans/g13gui.

Most of my shell experience is using bash on Debian, and bash seems to be how the destructions are written for this. I can git-clone in just fine, but when I start running the first of the install commands

╭─lumbergh@Initech in ~ took 932ms
╰─λ ~/src/g13gui$ sudo pacman -Syu

I get

fish: Expected a variable name after this $.
~/src/g13gui$ sudo pacman -Syu

What would be the proper syntax to get this working in Fish?