mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 01:41:01 +08:00
Support term256 in config.fish. Fixes #1022.
This commit is contained in:
parent
bb3a00d1eb
commit
488652c23a
3
fish.cpp
3
fish.cpp
|
@ -61,6 +61,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "history.h"
|
#include "history.h"
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
|
#include "input.h"
|
||||||
|
|
||||||
/* PATH_MAX may not exist */
|
/* PATH_MAX may not exist */
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
|
@ -419,6 +420,8 @@ int main(int argc, char **argv)
|
||||||
env_init(&paths);
|
env_init(&paths);
|
||||||
reader_init();
|
reader_init();
|
||||||
history_init();
|
history_init();
|
||||||
|
/* For setcolor to support term256 in config.fish (#1022) */
|
||||||
|
update_fish_term256();
|
||||||
|
|
||||||
parser_t &parser = parser_t::principal_parser();
|
parser_t &parser = parser_t::principal_parser();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user