From 3180910fd1f354ea6afd29f27dbe9c3208ed6e84 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Fri, 4 Apr 2014 15:59:41 +0200 Subject: [PATCH] Use `source` instead of `.` in autoload.cpp. --- autoload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload.cpp b/autoload.cpp index 5e93ac1a9..ad18dab04 100644 --- a/autoload.cpp +++ b/autoload.cpp @@ -296,7 +296,7 @@ bool autoload_t::locate_file_and_maybe_load_it(const wcstring &cmd, bool really_ /* Generate the script source */ wcstring esc = escape_string(path, 1); - script_source = L". " + esc; + script_source = L"source " + esc; 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. */