diff options
| author | katherine <shmibs@airen-no-jikken.icu> | 2018-12-04 05:56:33 -0700 |
|---|---|---|
| committer | katherine <shmibs@airen-no-jikken.icu> | 2018-12-04 05:56:33 -0700 |
| commit | 8a1a6e410499cbc5c0685287847b290be7ccbba8 (patch) | |
| tree | aa5ac8789853716e41ac08698a90b8fbc8adafa2 /.ocamlinit | |
| parent | 18272b9d26c28a3441d7734b4d160ebb87eb166d (diff) | |
| download | dotfiles-8a1a6e410499cbc5c0685287847b290be7ccbba8.tar.gz | |
prompt tweak
a single colour is better after all, rather than separating with yellow
Diffstat (limited to '.ocamlinit')
| -rw-r--r-- | .ocamlinit | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -19,9 +19,7 @@ let host = Unix.gethostname () in let formatted = LTerm_text.eval [B_bold true; B_fg (LTerm_style.white); S "ā["; - B_fg (LTerm_style.lmagenta); S (Printf.sprintf "ocaml-%s" version); - B_fg (LTerm_style.lyellow); S "@"; - B_fg (LTerm_style.lmagenta); S (Printf.sprintf "%s " host); + B_fg (LTerm_style.lmagenta); S (Printf.sprintf "ocaml-%s@%s " version host); B_fg (LTerm_style.lcyan); S (Printf.sprintf "%s" path); B_fg (LTerm_style.white); S "]\nā: "] in UTop.prompt := fst (React.S.create formatted);; |
