fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.7K
active users

#fishshell

2 posts2 participants0 posts today
Kris Warner<p>lol. Thanks <a href="https://social.coop/tags/FishShell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FishShell</span></a>!</p>
Daniel Wayne Armstrong<p>For sharing a common Fish shell configuration between multiple operating systems, the `switch` command is useful.</p><p>Using `switch` I can execute different blocks of code depending on the OS reported by `uname`.</p><p>Example:</p><p>```<br />switch (uname)<br />case FreeBSD<br /> abbr -a l ls -aFhl --color=always<br />case NetBSD<br /> abbr -a l colorls -aFGl<br />end<br />```</p><p>See: <a href="https://fishshell.com/docs/current/cmds/switch.html" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">fishshell.com/docs/current/cmd</span><span class="invisible">s/switch.html</span></a></p><p><a href="https://fosstodon.org/tags/FishShell" class="mention hashtag" rel="tag">#<span>FishShell</span></a> <a href="https://fosstodon.org/tags/FreeBSD" class="mention hashtag" rel="tag">#<span>FreeBSD</span></a> <a href="https://fosstodon.org/tags/NetBSD" class="mention hashtag" rel="tag">#<span>NetBSD</span></a></p>
Luca Ruggeri<p><span class="h-card" translate="no"><a href="https://snowfan.masto.host/@andre123" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>andre123</span></a></span> è consigliato prima scaricare poi controllare almeno. Almeno c'è l'https quindi nessuna sorpresa in the middle.</p><p>Però faccio lo spottone a <a href="https://mastodon.uno/tags/fishshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fishshell</span></a>: da configurazione ha un bel po' di schemi configurati di fabbrica, giusto un fish_config e si va su browser web</p>
Luca Ruggeri<p><span class="h-card" translate="no"><a href="https://hostux.social/@lfa" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>lfa</span></a></span> <a href="https://mastodon.uno/tags/fishshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fishshell</span></a></p>
Yann Büchau :nixos:<p><span class="h-card" translate="no"><a href="https://mastodon.social/@Krishnamishra" class="u-url mention">@<span>Krishnamishra</span></a></span> :fish_shell: <a href="https://fosstodon.org/tags/fishShell" class="mention hashtag" rel="tag">#<span>fishShell</span></a> for interactive shells, because its <a href="https://fosstodon.org/tags/vim" class="mention hashtag" rel="tag">#<span>vim</span></a> keybindings, syntax highlighting, speed ( :rust: <a href="https://fosstodon.org/tags/Rust" class="mention hashtag" rel="tag">#<span>Rust</span></a>!) and tab completions are on another level, but :bash: <a href="https://fosstodon.org/tags/bash" class="mention hashtag" rel="tag">#<span>bash</span></a> for scripting, because it&#39;s just the standard.</p>
Benny Powers 🇮🇱🦁<p><span>I put together a </span><a href="https://social.bennypowers.com/tags/fishshell" rel="nofollow noopener" target="_blank">#fishshell</a><span> version of </span><span class="h-card" translate="no"><a href="https://fosstodon.org/@distrotube" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>distrotube</span></a></span><span>'s classic </span><code>colorscript</code><span> bash script. This version includes a generate subcommand which slices up sprite sheets and saves them with your names, and an </span><code>--animate</code><span> flag which runs animations based on the sprites you save<br><br></span><a href="https://github.com/bennypowers/colorscript.fish" rel="nofollow noopener" target="_blank">github.com/bennypowers/colorscript.fish</a></p>
tshepang<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@tsvenson" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>tsvenson</span></a></span> the usability you get from fish without any configuration is very polished, like a more easy directory navigation, a more gentle language, safe copy-paste behavior, amazing auto completion... nothing less should be a default shell on any system</p><p><a href="https://hachyderm.io/tags/fishshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fishshell</span></a></p>
Jochen Wersdörfer<p>What started as "I'll just run coding agents on a remote machine" turned into a deep dive through SSH agent forwarding, tmux clipboard integration, and Fish shell event handlers.</p><p>Spoiler: mosh segfaults when connecting M-series → Intel Mac 😅</p><p>My working (if inelegant) solution: <a href="https://wersdoerfer.de/blogs/ephes_blog/running-coding-agents-remotely-ssh-tmux-and-the-quest-for-a-seamless-experience/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wersdoerfer.de/blogs/ephes_blo</span><span class="invisible">g/running-coding-agents-remotely-ssh-tmux-and-the-quest-for-a-seamless-experience/</span></a></p><p><a href="https://fedi.wersdoerfer.de/tags/tmux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tmux</span></a> <a href="https://fedi.wersdoerfer.de/tags/FishShell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FishShell</span></a> <a href="https://fedi.wersdoerfer.de/tags/CodingAgents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CodingAgents</span></a> <a href="https://fedi.wersdoerfer.de/tags/ssh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ssh</span></a> <a href="https://fedi.wersdoerfer.de/tags/AITools" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AITools</span></a> <a href="https://fedi.wersdoerfer.de/tags/ClaudeCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ClaudeCode</span></a></p>
SP⟁CED GO⟁T<p>Switched my config from swaywm to hyprland. Also switched from foot terminal to kitty. Have a weird issue where fishshell won't show nerd font glyphs if started automatically from the kitty config. Works fine in foot. Works fine if I launch fish from bash in kitty. Only doesn't work when I start fish automatically from the kitty config. Got this far in narrowing it down and now I'm stumped. </p><p><a href="https://appdot.net/tags/FishShell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FishShell</span></a> <a href="https://appdot.net/tags/KittyTerminal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>KittyTerminal</span></a> <a href="https://appdot.net/tags/Arch" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Arch</span></a> <a href="https://appdot.net/tags/Hyprland" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Hyprland</span></a> <a href="https://appdot.net/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a></p>
Adam H. Sparks :rstats:<p>I mean, I know I'm a nerd, but this AM I found myself checking currency conversions and thought, there must be a CLI tool for this. Since I use fish, there's this nice fish currency converter, <a href="https://github.com/Flameborn/fcc" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/Flameborn/fcc</span><span class="invisible"></span></a> <a href="https://rstats.me/tags/FishShell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FishShell</span></a></p>
tshepang<p>just learned one can quickly visit historical directory locations in fish shell with alt-left, then forward in history with alt-right</p><p>one can alternatively type "prevd" or "nextd"</p><p>one more thing, "cdh" can be used to list all dirs that have been visited, with an option to visit any of them quickly</p><p><a href="https://hachyderm.io/tags/fishshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fishshell</span></a></p>
Christiano Anderson<p>LSD - a good ls replacement </p><p><a href="https://christiano.dev/til/lsd-ls-replacement/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">christiano.dev/til/lsd-ls-repl</span><span class="invisible">acement/</span></a></p><p><a href="https://chaos.social/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://chaos.social/tags/fedora" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fedora</span></a> <a href="https://chaos.social/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> <a href="https://chaos.social/tags/fishshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fishshell</span></a></p>
Daniel Wayne Armstrong<p>For ages I used `bash` simply because its the default shell on most Linux distributions. Now that I&#39;m exploring FreeBSD I thought to myself, why not also consider alternative shells?</p><p>I briefly used the FreeBSD default `sh`, then spent a few weeks with `oksh` (portable version of OpenBSD `ksh`). Inspired by <span class="h-card" translate="no"><a href="https://social.jvns.ca/@b0rk" class="u-url mention">@<span>b0rk</span></a></span> &#39;s &quot;Reasons I still love the fish shell&quot; I decided to give the aforementioned shell I try... 🐟 </p><p><a href="https://www.dwarmstrong.org/fish-shell/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="">dwarmstrong.org/fish-shell/</span><span class="invisible"></span></a></p><p>I ❤️ it and its my new interactive shell.</p><p><a href="https://fosstodon.org/tags/FishShell" class="mention hashtag" rel="tag">#<span>FishShell</span></a> <a href="https://fosstodon.org/tags/Shell" class="mention hashtag" rel="tag">#<span>Shell</span></a></p>
Leftover woman<p>Three (‼️) years ago <span class="h-card" translate="no"><a href="https://mastodon.xyz/@Profpatsch" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Profpatsch</span></a></span> published a cute snippet on Twitter. It took me this long to read it and add it to my system, which is pretty dumb because all this time I've reach for `nix-env`🤦🏻‍♀️ <a href="https://social.vivaldi.net/tags/nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nix</span></a> <a href="https://social.vivaldi.net/tags/fishshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fishshell</span></a> <a href="https://codeberg.org/tssm/.config/commit/a4255df0f2231dba07668adefd4e47a8581a3c40" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/tssm/.config/comm</span><span class="invisible">it/a4255df0f2231dba07668adefd4e47a8581a3c40</span></a></p>
Daniel Wayne Armstrong<p>I&#39;m exploring the fish shell today. Right off the bat with no tweaking its pretty nice!</p><p>And if you run `fish_config` in a terminal it opens a configuration panel in the browser. I just used it to create a prompt in the Nord colour palette, and working from the auto-generated output I can further customize it manually to get it looking the way I like.</p><p><a href="https://fishshell.com/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">fishshell.com/</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/FishShell" class="mention hashtag" rel="tag">#<span>FishShell</span></a> <a href="https://fosstodon.org/tags/Shell" class="mention hashtag" rel="tag">#<span>Shell</span></a></p>
Sam Doran<p>Abbreviations in <a href="https://hachyderm.io/tags/fishshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fishshell</span></a> are pretty neat. I'm a huge fan of programs that type for me, like TextExpander, Typinator, and Keyboard Maestro. Having the same functionality built into the shell is very nice.</p><p><a href="https://fishshell.com/docs/4.0/cmds/abbr.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">fishshell.com/docs/4.0/cmds/ab</span><span class="invisible">br.html</span></a></p>
Breadly :breadcat: <p>I’m having a weird lil problem with Fish shell. I’ve just finished to write a little script to use with my Waybar config. The script is located at <code>~/.config/fish/functions/the-script.fish</code> and have inside it multiples functions.</p><p>When I’m calling the script directly from my Fish shell, the script works perfectly. <strong>But</strong> if I call the script with <code>fish -c the-script.fish</code>(which is what I’m basically doing with Waybar), the script throw stupid errors like “Uhh command what <em>(when calling a function)</em>? None of theses words are in the bible.”</p><p>And I don’t get why Fish behaves so differently depending on how I call the script :neocat_woozy:</p><p>RT appreciated :neocat: </p><p>(The script I’m talking about as reply bellow)</p><p><a class="hashtag" href="https://soc.breadcat.run/tag/fish" rel="nofollow noopener" target="_blank">#Fish</a> <a class="hashtag" href="https://soc.breadcat.run/tag/fishshell" rel="nofollow noopener" target="_blank">#FishShell</a></p>
Nevkontakte<p>I got up to some fishy business yesterday, and wrote a blog post about it 🐟</p> <p>More seriously, I wanted to figure out how transient prompt works in projects like Powerlevel10k, and once I did I decided to write it down.</p> <p><a href="https://nevkontakte.com/2025/transient-fish.html" rel="nofollow noopener" target="_blank">https://nevkontakte.com/2025/transient-fish.html</a></p> <p>It's a bit sad that I rarely have enough energy for random exploration outside of a vacation… But at least it's good to know that my brain is not a boring tin can yet.</p> <p><a href="https://m.nevkontakte.com/t/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://m.nevkontakte.com/t/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> <a href="https://m.nevkontakte.com/t/fishshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FishShell</span></a></p>
Chris Renfrow :ferris_gesture:<p><span class="h-card" translate="no"><a href="https://social.jvns.ca/@b0rk" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>b0rk</span></a></span> More confident thanks to a lot of the convenience <a href="https://hachyderm.io/tags/FishShell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FishShell</span></a> offers in this area (`fish_add_path` 🤯). Less confident when it comes to how environment variables are/should-be shared between the system environment and the shell. e.g. What environment variables are available to programs launched from the context of my window manager vs my terminal emulator?</p>
bram dingelstad :nb_flag:<p>not to brag, but i made such a cool <a href="https://gamedev.lgbt/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> script just now</p><p><a href="https://gamedev.lgbt/tags/FishShell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FishShell</span></a> <a href="https://gamedev.lgbt/tags/Sysadmin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Sysadmin</span></a></p>