Bash style history substitution for Oh My Fish.
This plugin wraps Aerys Bat's implementation of bash style history substitution.
$ omf install !!
!!
on command line will be replaced by last command issued:
$ mv /etc/hostname /etc/hostname.old
mv: rename /etc/hostname to /etc/hostname.old: Operation not permitted
$ sudo !!
!$
on command line will be replaced by last command arguments:
$ mkdir /tmp/test
$ cd !$
MIT © Aerys Bat, Derek Stavis et al