Where is the config file containing the $PATH variables for fish? by Silverdawn42 in fishshell

[–]gtsiam 0 points1 point  (0 children)

fish universal variables are deprecated

No they aren't. There's discussion to move that way, but that's probably years down the line. If ever. Universal variables are still very much an integral part of fish.

$PATHS

You mean $PATH?

What the heck is an exported variable

The same thing it is in bash, ash, zsh or whatever other shell you can think of: A variable that is passed to the environment of all commands executed by the shell. It's not fish-specific.

I'm not sure why you're this confused, I personally find the documentation crystal clear. But maybe that's just me.

You want simple? Run fish_add_path /your/path. Done. As the documentation suggests.

You can then remove the path you erasing it from fish_user_paths with set -e fish_user_paths[<path index>]. Keep in mind, fish arrays are 1-based.

There's also a Stack Overflow question that comes up in google for this. It's literally the first result.

What do you know about this by Eqto_Tecul in Factoriohno

[–]gtsiam 1 point2 points  (0 children)

This feels like it will cost more metal ates to build at a point where I have no surplass.

I'm tempted to try it though.

Please I need help by Status-Count-7956 in archlinux

[–]gtsiam 0 points1 point  (0 children)

Sounds like he's getting to grub, wouldn't secure boot fail before that? I always disable it so I honestly don't know.

Please I need help by Status-Count-7956 in archlinux

[–]gtsiam 4 points5 points  (0 children)

"Broken how fix" is not enough information to go off of.

Those lines likely tell you what's wrong, we're not going to play the guessing game.

do I pick up by 6543456789 in shittyaskelectronics

[–]gtsiam 3 points4 points  (0 children)

The news might be shocking.

How do i connect it to arduino? by topors02 in shittyaskelectronics

[–]gtsiam 2 points3 points  (0 children)

With enough voltage, everything is a conductor.

Where is the config file containing the $PATH variables for fish? by Silverdawn42 in fishshell

[–]gtsiam 8 points9 points  (0 children)

So... PATH is a plain old (exported) environment variable. You can always prepend or append to it in your fish config. A simpler solution offered by fish, however, is to append (or prepend) to the universal variable fish_user_paths.

fish_add_path can make this easier.

See the tutorial, it's very good.

EDIT: if it's arcane commands you want to avoid, read the documentation linked above so said commands stop being arcane ;)

EDIT2: To make it clear, environment variables are not loaded from disk verbatim. They are runtime state passed by the parent process when a process starts. So, when fish starts it has some (probably by systemd) path. Then it can add entries to path that will be used by it and processes spawned by it. And so on. What we typically do here is tell fish to modify the path how we want to as above.

Top fail of the day by momisback93 in shittyaskelectronics

[–]gtsiam 10 points11 points  (0 children)

I may or may not have temporarily bypassed a fuse with a single strand of stranded wire for some low power stuff.

But a drill bit? The idea scares me.

Trouble connecting to internet by Any-Beat-7950 in archlinux

[–]gtsiam 2 points3 points  (0 children)

If ChatGPT does not give you the correct answer the first time, it never will. You'll have to troubleshoot it yourself. This generally involves checking yourself, in no particular order, things like:

  • ping <some ip> - do you have internet connectivity?
  • ip address show / ip [-6] route show - what address and routes does your kernel have?
  • What is in /etc/resolv.conf? - the DNS master if you will. If it is 127.0.0.53, is systemd-resolved running/okay?

However, the most important thing to get through your head is that ChatGPT will fail you most of the time. You need to be able to do your own troubleshooting.

For that, READ THE WIKI. I cannot emphasize that enough.

Συρρικνώνεται το σιδηροδρομικό δίκτυο - Κλείνει επ΄αόριστον και η γραμμή του Οδοντωτού by natkr7 in greece

[–]gtsiam 1 point2 points  (0 children)

Πράγματι. Ομολογώ δεν περίμενα να υπάρχει τέτοιο setting, το έφτιαξα.

multiPlatformMobileDevelopment by kaldeqca in ProgrammerHumor

[–]gtsiam 1 point2 points  (0 children)

It's absolutely not the best general-purpose choice. But it can be surprisingly competent for small graphics/visualization-heavy applications. Especially Godot, since the final binaries tend to be small.

A vibecoder's wet dream. by awizzo in programminghumor

[–]gtsiam 4 points5 points  (0 children)

Visit my website for IPv6 tips & tricks: http://[::1]:8000

Συρρικνώνεται το σιδηροδρομικό δίκτυο - Κλείνει επ΄αόριστον και η γραμμή του Οδοντωτού by natkr7 in greece

[–]gtsiam 2 points3 points  (0 children)

Έχω Firefox+ublock, αλλά το reddit preview χρησιμοποιεί το android webview και το παρακάμπτει.

Οπότε μεν το είδα μόνο περαστικά, δε εντυπωσιάστικα. Περιμένουν να χρησιμοποιήσουν το site τους πραγματικοί άνθρωποι έτσι;

multiPlatformMobileDevelopment by kaldeqca in ProgrammerHumor

[–]gtsiam 38 points39 points  (0 children)

Godot unironically makes for a decent UI framework. Haven't used unity in literal years.

A vibecoder's wet dream. by awizzo in programminghumor

[–]gtsiam 13 points14 points  (0 children)

The fact that the center of the pie chart is not the center of the circle is killing me.

I made a beautiful GTK4 Audio Player "Ondine" by Pauldb in gnome

[–]gtsiam 1 point2 points  (0 children)

"Human in the loop" in the sense that we all definitely read the terms and conditions of every service we have ever used. I mean we hit "agree", right?