Pick up from where you've left.
- Unix-y OS
- Ruby and
ruby
in$PATH
It's just a single executable so a quick symlink will do:
git clone http://github.com/5long/c
ln -s `pwd`/c/c /usr/local/bin/c
Use c <args>
to record a command and just c
to replay it.
cd books
zathura Awesome_But_Pretty_Long_Book.pdf
# Record it:
c zathura Awesome_But_Pretty_Long_Book.pdf
# And tomorrow when you feel like reading book again:
c
You can checkout ~/.continuerc
to see the recorded command.
When recording a command,
c
will try to resolve all arguments to absolute paths
before saving the arguments in ~/.continuerc
.
So you don't have to cd
back and c
replaying still works.
There can't be any bugs. You must have used it the wrong way.