I just switched to fish for the pretty colors and quality of life features. Anything I should keep in mind while using it as a Linux noob? I don't even know who POSIX is lol.
post
I really like Fish but for simple stuff like youtube-dl you always have to put quotation marks around the YouTube video's address because Fish thinks the question mark is an operator. So annoying.
Fixed in fish 4.0 :)
Fixed in fish 4.0 :)
*reinstalling Fish right now*
reinstalling Fish right now
Alright:
> /usr/bin/fish --version
fish, version 4.0.1
For whatever reason openSUSE doesn't ship 4.0.2 despite the fact that it's in its development repo since months. Oh well, could be worse.
Of course if you do find yourself in need of a single char wildcard or by extenaion a fixed length wildcard, you just don't have that in fish.
#!/bin/sh #!/bin/bash?
Then you're just running bash scripts with bash. You're not running bash scripts with fish.
I think that's the point of the comment
Exactly, use the shell you like (nushell in my case), write POSIX scripts for maintainability, and use shebangs so you don't have to think about it.
If you like fish but don't use it as your login shell because it's not POSIX you're missing the point of the shebang
Nah, fuck that. I'm using yash.
Laughs in still needing to write POSIX scripts
source, I use debian with fish and I write my scripts still in POSIX since fish is god slow at scripting, it is really nice for interactive usage but scripting performace is bad, and I can't assume bash to be everywhere so POSIX I go
POSIX shell sucks ass. Just because there are many worse options doesn't make it any better.
using nushell is my little rebellion against POSIX tyranny
Non English speaker here . don't you mean "non POSIX compliant" instead of "POSIX non compliant" ?or is it a hint at the fact that it is designed to actually be non compliant?
Generally, people mix the two, so you have to use context. I think, however, your take is correct. I think the post is meant to give a bit of a rebellious vibe, so that may be why they chose this phrasing.
"non-POSIX compliant" = compliant with non-POSIX (whatever "non-POSIX" may be)
"POSIX non-compliant" = not compliant with POSIX
The best way to say what OP did would be a simple "not POSIX compliant". Looking back, that's exactly what was said in the post. The meme itself is, unfortunately a different story.
Posix non-compliant was used in the meme because the author wanted to save on words in the puchline. "Using a shell not POSIX compliant" lacks a few words and is syntactically incorrect. "Using a POSIX non-compliant shell" saves on words, and is syntactically correct, but makes the sentence more complex.
All in all, the "non-" prefix is a bit finicky in english and can usually be avoided.
Wouldn't it be more like "non POSIX-compliant"? That's how I would understand it, though I'm not a native speaker
This is the way I see it too. Treat "POSIX-compliant" as an adjective and negate it.
Honestly, I didn't see it that way. With the dash, I do. That works as well. It's just that, if I put a dash somewhere myself, it's the other way around.
It's installed on my machine but really don't know how to make use of it that much. Any tips and tricksters?
While using the fish shell you can just type 'help', and it'll pull up an offline web page with their manuals and guides. But to be honest, I dont really use fish for anything but the fancy colors and auto-completion lol. Also fish π :)
Isn't the list of shells that are "not fully POSIX compliant" basically every shell in modern use aside from sh?
Switching to dash

all 61 comments