Mo :ferris: :tux: · @mo8it
519 followers · 1787 posts · Server fosstodon.org

@jntrnr "Finally, a command
line shell for the 90s" is irony! It is a joke to emphasize that shells like Bash are too old and has modern features.

Indeed, the first release of Fish was 2005.

#fishshell

Last updated 1 year ago

Tshepang Mbambo · @tshepang
45 followers · 204 posts · Server hachyderm.io

@gim I have not seen a more pleasant interactive experience like provides (and not just great completion system), at least not without any configuration at all, and the language is a step forward compared to posix shells (more consistent, more clean)

#fishshell

Last updated 1 year ago

Shevek · @shevek
463 followers · 5621 posts · Server mstdn.io

@victorhck Este tema de configuración de emuladores de terminal básicos sigue siendo misterioso.

En mi caso, me gustaría saber cómo configurar los emuladores VTn (los que se accede mediante ctrl-alt-Fn). Cuando uso un gestor de terminal sofisticado como , con prompts complejos (en mi caso "tide"), entonces en las VTn se ve bastante mal.

Creo que el "truecolor" no es configurable, pero la fuente de caracteres sí debería serlo.

¿Sabes cómo podría hacerlo?

#fishshell

Last updated 1 year ago

૮༼⚆︿⚆༽つ · @drsensor
112 followers · 583 posts · Server fosstodon.org

Wild idea...
Replacing my setup with + 🤔

#fishshell #oilshell #carapace

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
263 followers · 1128 posts · Server fosstodon.org

@swflint Thanks. doesn't seem to notice this shell change though, while it does for 'nix-shell -p git-extras --run fish'. Shouldn't be a :fish_shell: issue though.

UPDATE: nix-shell sets the IN_NIX_SHELL=[im]pure environment variable (and a whole bunch of others) while nix shell only touches the PATH. Hard to detect for any program that this change happened!

#starshipprompt #fishshell

Last updated 1 year ago

Sean · @afterconnery
120 followers · 547 posts · Server fosstodon.org

There is an alias for bash to use cheat.sh and receive the cheatsheet for a command while inside your terminal.

For fish users use function:

function h
curl -s -L cheat.sh/$argv | less -R
end

Then type: function h cat

You will get the cheatsheet to cat within your terminal session.

#terminal #fishshell #linux

Last updated 1 year ago

masukomi · @masukomi
363 followers · 6358 posts · Server connectified.com

Does anyone know if there's a way in to have text printed via STDOUT colored differently? Or maybe a way in or Kitty ?

(I've been pondering switching to Kitty, but don't want to deal with configuring everything.)

#fishshell #iterm2

Last updated 1 year ago

David Adam · @zanchey
212 followers · 496 posts · Server aus.social

rewrite-it-in progress, 2023-08-14

48025 rust lines added
23299 / 77063 C++ lines removed
▓▓▓▓▓▓░░░░░░░░░░░░░░ 30 %

--

The path and functions builtins have been ported, as well as some of the spawn machinery and the last pieces of the killring.

#fishshell #rust #riir #rustlang

Last updated 1 year ago

Dusty Pomerleau · @dpom
16 followers · 102 posts · Server fosstodon.org

Overall I'm really happy after moving to . The one thing I miss from is zmv. What approach do people use for zmv-like batch renaming in fish?

#fishshell #zsh

Last updated 1 year ago

David Adam · @zanchey
198 followers · 469 posts · Server aus.social

rewrite-it-in progress, 2023-08-07

46458 rust lines added
21679 / 77063 C++ lines removed
▓▓▓▓▓░░░░░░░░░░░░░░░ 28 %

--

Not a lot of movement this week, with some of our committers on break. Personally, I decided it is more important (but less interesting) for me to work on getting a release of the old codebase out than porting little builtins.

#fishshell #rust #riir #rustlang

Last updated 1 year ago

Dusty Pomerleau · @dpom
12 followers · 93 posts · Server fosstodon.org

Ok, I have to say, the difference in speed moving from to is really noticeable. I now regret putting this off for so long.

#zsh #fishshell

Last updated 1 year ago

yugaego 🌻 · @yugaego
23 followers · 130 posts · Server fosstodon.org

:

"
This command makes it easy for fish scripts and functions to handle arguments.
"

Example from docs:
```
function mybetterfunction
argparse h/help s/second -- $argv
or return

if set -ql _flag_help
echo "mybetterfunction [-h|--help] [-s|--second] [ARGUMENT ...]"
return 0
end

if set -ql _flag_second
echo $argv[2]
else
echo $argv[1]
echo $argv[3]
end
end
```

fishshell.com/docs/current/cmd

#TIL #fishshell #argparse

Last updated 1 year ago

David Adam · @zanchey
189 followers · 457 posts · Server aus.social

Porting a corner of the codebase to has identified one five-year-old mistake and an effectively-unused codepath.

#fishshell #rust

Last updated 1 year ago

· @samurro
58 followers · 1168 posts · Server fosstodon.org

Has anybody an alternative for managing ssh keys to . Program is killing me in conjunction with .

#keychain #fishshell

Last updated 1 year ago

David Adam · @zanchey
185 followers · 453 posts · Server aus.social

rewrite-it-in progress, 2023-07-31

46368 rust lines added
21685 / 77063 C++ lines removed
▓▓▓▓▓░░░░░░░░░░░░░░░ 28 %



--

The string builtin port has been merged, which has seen the removal of a lot of C++. There's PRs in for another few builtins but no review as yet. There's work being done on the port of the parser but there's a huge chunk of interlinked code.

I think the string builtin is interesting when you look at fish's history. Under the 1.x design goals it would never have been added - there's already enough string manipulation tools in the standard Unix toolkit. Under the newer guidelines, there's clearly a place for a unified command with consistent UI and the improved performance in loops that comes from builtins.

#fishshell #rust #riir #rustlang

Last updated 1 year ago

· @samurro
58 followers · 1163 posts · Server fosstodon.org

Anybody experience with dotfile manager like and ? Which files/directories should I exclude from syncing across machines?

#chezmoi #fishshell

Last updated 1 year ago

stark@techhub:~$ █ · @Stark9837
447 followers · 2325 posts · Server techhub.social

@zanchey

How does the code-base continue working if you progressively replace C++ with Rust? Are you going class-by-class, module-by-module and have some inter-language communication? Or are these separate services? Is there more information about this process?

#cpp #rust #rustlang #opensource #fishshell #riir #development

Last updated 1 year ago

David Adam · @zanchey
180 followers · 429 posts · Server aus.social

rewrite-it-in progress, 2023-07-24

43444 rust lines added
18729 / 77063 C++ lines removed
▓▓▓▓░░░░░░░░░░░░░░░░ 24 %

--

The function module and its accompanying builtin have been ported. The string builtin PR edges ever closer to being merged (and currently removes nearly 3000 lines of C++).

#fishshell #rust #riir #rustlang

Last updated 1 year ago

cxwh · @cxwh
24 followers · 160 posts · Server mas.to

fish shell 很奇怪。写

while true; read v ; echo $v ; end

发现没办法用ctrl-c 终止。

#shell #fishshell

Last updated 1 year ago

David Adam · @zanchey
171 followers · 417 posts · Server aus.social

rewrite-it-in progress, 2023-07-17

42206 rust lines added
17911 / 77063 C++ lines removed
▓▓▓▓░░░░░░░░░░░░░░░░ 23 %

--

No new areas ported this week but some refactoring and cleanup, including some unused C++. Any claims that I went looking for unused C++ just to enlarge my progress bar are unfounded.

#fishshell #rust #riir #rustlang

Last updated 1 year ago