refactor: use with builtins

This commit is contained in:
Youwen Wu 2024-07-16 21:47:09 -07:00
parent d43f9b776e
commit 7806277042
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -524,7 +524,7 @@
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
settings = builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile ./prompt.omp.json));
settings = with builtins; fromJSON (unsafeDiscardStringContext (readFile ./prompt.omp.json));
};
programs.zsh = {