When using source-file, run the commands in the context of the source-file

command rather than with no context. This makes things like attach work from a
file.
This commit is contained in:
Nicholas Marriott
2009-08-23 17:29:51 +00:00
parent 43cd40e87a
commit c7394ac4e0
4 changed files with 14 additions and 9 deletions

2
tmux.h
View File

@ -1109,7 +1109,7 @@ void sigreset(void);
void sighandler(int);
/* cfg.c */
int load_cfg(const char *, char **x);
int load_cfg(const char *, struct cmd_ctx *, char **);
/* mode-key.c */
extern const struct mode_key_table mode_key_tables[];