Re:Using hashtags to organize your bash history
by ibotty on Sunday June 30, 2013 @05:29AM
(#5965225)
no you are not. but some one-offs are good enough to reuse, but not good enough to open an editor for, depend on environment variables (which might be spelled out in the command), or something. so although i do use a pretty well populated ~/bin (well ~/usr/bin) and many shell functions, i will adopt that practice. it might even work out for script files (i.e. recordings of your shell session).
[ Parent
| on HN ]
Re:Using hashtags to organize your bash history
by drdaeman on Sunday June 30, 2013 @08:52AM
(#5965599)
> not good enough to open an editor for
It's just a keystroke away (`C-x C-e` in bash and zsh, in emacs-like line editing mode) if you have $EDITOR set properly.
Re:Using hashtags to organize your bash history
by ibotty on Sunday June 30, 2013 @01:11PM
(#5966366)
that's interesting. i did not know that shortcut (well, it doesn't work with vi keybindings), but that sounds useful. that was not the whole point though.