3 ms·
I actually use `alias -g L='| nvimpager'`, As for accidental invocations, yeah I agree it feels dangerous, but in a few hundred thousand lines of shell history
by lambdaba 3y ago
I actually use `alias -g L='| nvimpager'`,
As for accidental invocations, yeah I agree it feels dangerous, but in a few hundred thousand lines of shell history since I set them, never had a problem.
- TylerE 3y agoHaven’t had a problem, or haven’t noticed you’ve had a problem? I kid - but only partially. What I really wish for is some sort of tool that would let me pipeline like that, but also easily examine each step in the chain for sanity. Sort of a workbook for shell.
- lambdaba 3y agoAuto-expanding aliases seems like it would help: function expand-alias() { zle _expand_alias zle self-insert } zle -N expand-alias bindkey -M main ' ' expand-alias
- deleted 3y ago[deleted]