[/home/user]$ cd some/path
[/home/user/project/omg]$ save omg
[/home/user/project/omg]$ cd
[/home/user]$ cd omg
[/home/user]$ cp file $omg
[/home/user]$ show
omg="/home/user/project/omg"
[/home/user]$ $EDITOR ~/.dirs
$ curl https://raw.github.com/gist/97b1806058ed33cc2612/3b98af2ba3ceaa596139311337a5750686c8a6cc/bookmarks.bash > ~/.bookmarks.bash
$ echo '. ~/.bookmarks.bash' >> ~/.bashrc
Awesome!. You've just discovered implicitly the 'error' ;)
We can modify the script like that and each bookmark_dir will be an environment variable so we can use it in Vim
I'm thinking to append some string to bookmark name because I could override some important variable like PATH... or always remember that I have to save bookmarks in lowercase :P
Thanks for your help ;)
PD: Yes, old-school solution is so great too ;)