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 |
||
---|---|---|
.. | ||
bash | ||
shared | ||
zsh |