diff options
| author | Toby Goodwin <toby@paccrat.org> | 2015-05-15 19:36:55 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:24 +0100 |
| commit | 27c900d6ae9cd0dcf4bc97bc9b8c1882e40ccfa8 (patch) | |
| tree | 9ce71c54d395ebc0e84ecded69a75d2ed0ce831c /var.c | |
| parent | 3202133256713848312dddefba2250a6803bfec6 (diff) | |
snapshot from cvs: 2005-03-03
Diffstat (limited to 'var.c')
| -rw-r--r-- | var.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,6 +2,8 @@ #include "rc.h" +#include "input.h" + static void colonassign(char *, List *, bool); static void listassign(char *, List *, bool); static int hasalias(char *); @@ -19,10 +21,8 @@ extern void varassign(char *name, List *def, bool stack) { new->def = newdef; new->extdef = NULL; set_exportable(name, TRUE); -#if READLINE - if (interactive && (streq(name, "TERM") || streq(name, "TERMCAP"))) - rl_reset_terminal(NULL); -#endif + if (streq(name, "TERM") || streq(name, "TERMCAP")) + termchange(); } /* assign a variable in string form. Check to see if it is aliased (e.g., PATH and path) */ |