back
user profile
JNRowe
7,426karma·1,207submissions·February 3, 2014
about
username at gmail.com ; Feel free to get in touch.
[ my public key: https://keybase.io/jnrowe; my proof: https://keybase.io/jnrowe/sigs/orH3nyNqAK4vkIpcxn2HRihHPV2HX80SyDwM9cR5xnw ]
recent activity (1,207 total)
comment
Given the number of upvotes and comments on a story about MC a few days ago¹, they're not that dead now. ¹ https://news.ycombinator.com/item?id=39075316 …
comment
All four of the $HIST* parameters are perfectly functional without export.
comment
This story was discussed a few days ago¹, including with some fond personal recollections from users. There was a link posted to Vint Cerf's story collection² too. Also, a link to the source of…
comment
What felt like an initial thirty second throwaway comment yesterday has turned in to a pile of replies that feel like a poorly conceived Ted talk now, forgive me for that. The dividing line between va…
comment
For the first; Unless your bash config overrides the environment variable you've set it will use $HISTFILE from the calling shell, which is why "HISTFILE=<location>" without the e…
comment
FWIW, that is also the default behaviour of zsh's standard completion subsystem for kill. You can try it yourself: "zsh -f" to get a shell without reading a fancy config, start compini…
comment
Noting that you didn't solicit advice, but… * Exporting shell variables such as HISTFILE isn't necessary, and can be unsafe. For example, if you decide to pop open unconfigured bash from wi…
comment
As we're in a zsh story, I'll point out it comes with a clever file renaming interface out of the box¹. It allows full access to all the advanced glob operators zsh provides too². ¹ https:…
comment
Like practically everything zsh, it can be configured. The select-word-style zle widget¹ ships with zsh, and has a bash compatible setting(among others). The interface is super powerful, and given t…
comment
Well, you don't have to use the two pane mode if you don't want anyway. You can switch to single pane mode, use the second pane for file info, use the second pane as a directory tree in th…
comment
zsh has a comprehensive hook system available for these types of tasks¹(zshaddhistory in this case). It gives you more options to control how/when the history is preserved, and allows you to be …
comment
Depends on the archive type and how the vfs/extfs code was implemented for it¹. It also depends on how the archive is treated if it is compressed container, which can be seen by looking at how …
comment
mc sets $MC_SID in the subshell, so you can query that in your prompt to mark prompts running under mc. Another option might be to bind F10 to start mc, so that it acts as a toggle whether in mc or …
comment
My description above wasn't great. I meant completion would be an improvement in the sense that under zsh `~-<Tab>` can show not only the possible completion options, but also the value th…
comment
Personally, I'd find the completion output from `~-<Tab>` a worthy improvement, although admittedly with zsh you can configure completion to display both name and value for `$c<Tab>` …
comment
A slightly different take is available if you're a zsh user, as you can take advantage of named directories to replace the aliases. If you do this the directories you've added will show up …
comment
pushd also gives you simple access via `~- n ` in both bash and zsh out of the box. The bonus being that `~-[ n ]` is correctly handled when used as an argument to other commands too, so that `cp myf…