mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Use source
instead of .
in autoload.cpp.
This commit is contained in:
parent
b01d09d704
commit
3180910fd1
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ bool autoload_t::locate_file_and_maybe_load_it(const wcstring &cmd, bool really_
|
||||||
|
|
||||||
/* Generate the script source */
|
/* Generate the script source */
|
||||||
wcstring esc = escape_string(path, 1);
|
wcstring esc = escape_string(path, 1);
|
||||||
script_source = L". " + esc;
|
script_source = L"source " + esc;
|
||||||
has_script_source = true;
|
has_script_source = true;
|
||||||
|
|
||||||
/* Remove any loaded command because we are going to reload it. Note that this will deadlock if command_removed calls back into us. */
|
/* Remove any loaded command because we are going to reload it. Note that this will deadlock if command_removed calls back into us. */
|
||||||
|
|
Loading…
Reference in a new issue