Skip to main content
4 events
when toggle format what by license comment
Feb 10, 2015 at 18:50 vote accept lkisac
Oct 1, 2014 at 19:17 comment added muru @lkisac Oddly for me, it gave # (no code) without the escape. Must be some quoting issue.
Oct 1, 2014 at 19:11 comment added lkisac I tried it on both Mobaxterm and Putty, and got ls #$CODE, ll #$CODE for the history output. I'm not sure if it works for you, but I had to change sed -i '\$s/\$/ \#\$CODE/' $HISTFILE' to sed -i '\$s/\$/ \#$CODE/' $HISTFILE. I took the `` out before $CODE
Oct 1, 2014 at 18:40 history answered muru CC BY-SA 3.0