logoalt Hacker News

gvalkovlast Thursday at 12:36 PM0 repliesview on HN

In zsh you can bind "push-line-or-edit". In bash and all readline programs, you can approximate it with C-u followed by C-y (i.e. cut and paste). My history is still full of '#' and ':' (csh trauma) prefixed command-lines like you described though ...