Support term256 in config.fish. Fixes #1022.

This commit is contained in:
Konrad Borowski 2013-09-30 14:45:12 +02:00
parent bb3a00d1eb
commit 488652c23a

View file

@ -61,6 +61,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "output.h"
#include "history.h"
#include "path.h"
#include "input.h"
/* PATH_MAX may not exist */
#ifndef PATH_MAX
@ -419,6 +420,8 @@ int main(int argc, char **argv)
env_init(&paths);
reader_init();
history_init();
/* For setcolor to support term256 in config.fish (#1022) */
update_fish_term256();
parser_t &parser = parser_t::principal_parser();