This is useful if I want to edit a script but I'm not in my scripts directory. It will look for a file with the name I have typed and replace it. for example: vim yt<^n> will be replaced with vim /home/jonathan/.bin/yt The script will first try `which <filename>`, searching the path. If that fails, it will do `locate "*/filename"` which will search for the file elsewhere
parent
02a44619f3
commit
a654ca73fb
1 changed files with 22 additions and 0 deletions
Loading…
Reference in new issue