Move File Refactoring

References to files are automatically updated when you rename or move them. They’re also updated when you move the file, which contains these references.

Sourced Files

Files referenced by the source command are updated. These different kinds of file references are supports:

1
2
3
4
5
6
. file.bash
. "file.bash"
. 'file.bash'
. ./file.bash
. "filename with whitespace.sh"
. /etc/bash.bashrc

Shellcheck Source Directive

Files referenced by the source command are updated when you move or rename a file. Please refer to the page about Shellcheck for further details.