I know in zsh, fish, and nushell, you can press a key combo to jump into a text editor of your choice. You write your command there, with all the power and shortcuts in emacs, vim, nano (whatever you like to use). Then you save and exit, and it appears in your command line, ready to execute.
- 0 Posts
- 6 Comments
Joined 6 months ago
Cake day: August 3rd, 2025
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Remus86@lemmy.zipto
Linux@lemmy.ml•I just found out my fiancee wants to switch to linux, lets start a distro war, what should be her first? + other questions
303·4 months agoPersonally, I don’t think anyone new to Linux at this point, who isn’t tech-minded, should be pointed to an X11 environment. So until Mint devs have ported Muffin into a Wayland compositor, I wouldn’t recommend it. They’re used to a shiny experience visually, so I’d go with Plasma 6 running on Fedora or OpenSUSE Tumbleweed.
I use a Beelink SER5, but that’s because I also plan to set it up to be a retro game console, in addition to streaming.
Remus86@lemmy.zipto
Linux@programming.dev•[Solved] Window decoration theme like Bismuth for KDE
4·5 months agoIvan Cukic has ported the Bismuth window decoration to Plasma 6.
Do this instead to treat name as a locally scoped variable:
foo() { local name="$1" read -r -p "delete $name (default is no) [y/n]? " choice choice="${choice:-n}" echo "\$choice: $choice" } printf "%s\n" "foo" "bar" "baz" "eggs" "spam" | while read -r name; do foo "$name" done

In X11 you can just use ‘exec app-name’ and it will replace the terminal window with the app. In Wayland, I got it to work with this:
setsid app-name & disown sleep 1 exitWithout the ‘sleep 1’, it exits the terminal too quickly for the app to launch, at least when I tried it.
*Edit: In order for it to work as a script, you still need to type exec first. Or, in my case, I aliased “open-app” to “exec open-app”.