Hacker News new | ask | show | jobs
by djsumdog 3059 days ago
It was difficult to implement !! and !$ in fish (I rarely actually used them in bash, so it wasn't an issue for me) and I know others who found that annoying. However if you dig around, there are a couple of solutions on Stack Overflow and blog posts that add in that functionality using plugins or functions. It's not exactly the same, but some of them work pretty well.
2 comments

You may be underestimating the importance of these particular operators to experienced users. I at least would be very dissuaded from trying an alternate shell without a simple way to enable these.
I use !! maybe ten times per day. !$ can be implemented in your PS1 easily.
I used to. Now I just Ctrl-P.