Viewing profile — okdana
okdana
HN member- Joined
- Thu, Sep 08, 2016, 2:42 AM UTC
- HN karma
- 235
- Public activity
- 49 items
- HN profile
- View on Hacker News ↗
About okdana
No profile information was provided.
Recent public activity
- comment
- comment
- comment
-
comment
Comment #26893693
AirDrop also shares your full name (seemingly the one associated with your Apple ID, not what you have set for yourself in your contacts), both by displaying it in the sharing inte…
-
comment
Comment #23255762
If by '99% coverage' you mean it can complete the command's options, and know which of them take arguments, and maybe even know about sub-commands, yes. zsh's _arguments, and its _…
-
comment
Comment #21177160
What do you mean 'rewrite unlink'? As far as i know, none of the standard POSIX/C file-manipulation functions, including unlink(2), have ever supported NUL bytes embedded in file n…
-
comment
Comment #20091823
As the other person said, if your scripts are executables with an sh or bash 'shebang' at the top, they will continue to use the same shell they always did. But if you did want to …
-
comment
Comment #20091791
I agree that zsh's default configuration sucks (and the new-user wizard is overwhelming). I would like the project to provide a more opinionated set of defaults to OS vendors; i th…
-
comment
Comment #20091674
zsh doesn't require any 'plugins' for its tab-completion, everything you need is distributed with the shell. A lot of people who use zsh just don't understand how it works and thin…
-
comment
Comment #20091523
Is that what they've done? The linked article doesn't say that.
-
comment
Comment #20091004
zsh isn't a perfect super-set of bash (there are some differences in syntax, provided built-ins, &c.), but it does have equivalents for most of bash's functionality. Off the top of…
- comment
- comment
-
comment
Comment #18854653
You probably don't need to update /etc/shells unless you really want to. chsh just won't let you switch to a shell that's not listed there without using sudo, which isn't a problem…
-
comment
Comment #18854634
bash's EPOCHREALTIME was inspired by mksh, which was in turn inspired by zsh. And in zsh, EPOCHREALTIME was named after the system real-time clock (specifically the CLOCK_REALTIME …
-
comment
Comment #18781330
Yeah, you're right of course. I think i was conflating job control with sub-shells, sorry.
-
comment
Comment #18780765
fish doesn't try to support all of the weird historical quirks of Bourne-style shells, so its grammar and built-in 'API' are far simpler and clearer. Its out-of-the-box configurati…
-
comment
Comment #18585186
The problem with most of these lists and how-tos is that they're the CLI equivalent of 'I Fucking Love Science'. The people suggesting things like zsh frame-works rarely seem able …
-
comment
Comment #17381716
Right, it was just a random example that popped into my head. You would probably also want to think twice about using -R (at least with GNU grep), about hard-coding the search dire…
-
comment
Comment #17378476
>Simple trick behind this technique is that when using shell wildcards, especially asterisk (...), Unix shell will interpret files beginning with hyphen (-) character as command li…
-
comment
Comment #17285572
How are you going to white-list network-interface names? On Linux at least you can name them almost anything you want: % sudo ip link set eth3 down % sudo ip link set eth3 name "'d…
-
comment
Comment #16506039
>Also, if unions are not a direct, full frontal attack on capital and hierarchy, why are they facing constant attack from organs of ruling class consciousness, like, say, the WSJ, …
-
comment
Comment #16277594
>Shells like zsh and fish will never get mainstream adoption because they are not compatible with bash. zsh and fish don't really belong in the same comparison IMO. zsh is, like ba…
-
comment
Comment #16098222
GREP_OPTIONS is deprecated in GNU grep since i think 2.20. It will be removed in a future version, and until then it's going to print an irritating warning message every time you u…
-
comment
Comment #16098180
You can shorten it with -t: -tc, -tphp, -truby, -tsh. Then it's actually the same amount of characters as with ag.