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 elsewheremaster
parent
afb31a7589
commit
fb3fb4365e
1 changed files with 22 additions and 0 deletions
Loading…
Reference in new issue