💾 Archived View for bbs.geminispace.org › u › Nono › 11495 captured on 2024-05-10 at 13:02:48. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
Re: "Newsboat RSS reader acting weird"
Hi @clseibold: I use Micro as a text editor... I'll explore the documentation for Fish, but I don't understand what "environment" means in this context... Is it just a generic name for a text editor? Thanks, and sorry if this all sounds a little trivial!
2023-11-05 · 6 months ago
🍵 michaelnordmeyer · 2023-11-05 at 11:17:
Environment means in this case the shell evaluation configuration. I never tried Fish, but other shells display theirs when executing `env` in the shell. Apparently Fish uses `set -gx`.
`set -gx EDITOR micro` should set the default editor to Micro permanently and apply it immediately to your current shell environment. Other opened Fish shells have to either source the config again (~/.config/fish/config.fish) or to be restarted. Apps relying on the EDITOR variable might have to be restarted as well to apply the new setting.
— https://fishshell.com/docs/current/cmds/set.html
— https://fishshell.com/docs/current/cmds/source.html
👤 AnoikisNomads · 2023-11-05 at 11:53:
@nono environment in this content just means setting up default... like which program to use to open URLs, Mails, or in this content, config files.
😺 Nono [OP] · 2023-11-05 at 12:21:
Thank you guys for all the help!
I have to admit, I didn't understand all of what was written in the links to the documentation for Fish, but with the answers provided here, it does work now, even after restarting! Thanks again!
😺 Nono [OP] · 2023-11-06 at 00:08:
@clseibold: Very clear and informative! Thank you very much!
They have to be restarted but with the new enviroment loaded, as most programs usually don't try to detect the shell you're using and set a inotify to add new enviroment variables, so new variables won't apply, (unless you go weird routes like adding the variable into environ manually to each process)
— I'm replying to this comment specifically, and bubble doesn't make that clear.
😺 Nono [OP] · 2023-11-06 at 18:29:
@jmjl: I just specified it in the right config file, and now it works fine
Newsboat RSS reader acting weird — Hi there! Any Newsboat users here? I'm trying to force myself to learn how to use the Terminal, and Newsboat is the first app I installed... But there's a command that doesn't seem to work... Hitting Shift + E is supposed to open the urls file in a text editor, but nothing happens... As I'm very new to all of this, I have no idea what I should be looking for in order to fix this... Any ideas please? I'm on an Ubuntu based machine... Thank you in advance....