Skip to content

oh-my-fish/plugin-bang-bang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

!!

Bash style history substitution for Oh My Fish.

MIT License Fish Shell Version Oh My Fish Framework


This plugin wraps Aerys Bat's implementation of bash style history substitution.

Install

$ omf install !!

Usage

!! 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 !$

License

MIT © Aerys Bat, Derek Stavis et al

About

Bash style history substitution for Oh My Fish

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages