aboutsummaryrefslogtreecommitdiffhomepage
path: root/autoload.cpp
diff options
context:
space:
mode:
authorGravatar Konrad Borowski <GlitchMr@users.noreply.github.com>2014-04-04 15:59:41 +0200
committerGravatar Konrad Borowski <GlitchMr@users.noreply.github.com>2014-04-04 15:59:41 +0200
commit3180910fd1f354ea6afd29f27dbe9c3208ed6e84 (patch)
tree124b8aaaa1897984a4e1c6af5be75c4341d6069f /autoload.cpp
parentb01d09d704893b59aa87308d3408c084017c46dd (diff)
Use `source` instead of `.` in autoload.cpp.
Diffstat (limited to 'autoload.cpp')
-rw-r--r--autoload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload.cpp b/autoload.cpp
index 5e93ac1a..ad18dab0 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. */