diff options
author | Alan Pearce | 2021-04-13 13:51:43 +0200 |
---|---|---|
committer | Alan Pearce | 2021-04-13 13:51:43 +0200 |
commit | 4e3bd398ca7a1d6625bb51f05921d3b1324e811f (patch) | |
tree | 21979847a6e59c405ac76e44e2b7551a3c22465a /user/settings | |
parent | 533ae2186750c603f560301997f02e8328f5ad38 (diff) | |
download | nixfiles-4e3bd398ca7a1d6625bb51f05921d3b1324e811f.tar.lz nixfiles-4e3bd398ca7a1d6625bb51f05921d3b1324e811f.tar.zst nixfiles-4e3bd398ca7a1d6625bb51f05921d3b1324e811f.zip |
zsh: set/re-set terminal title from ssh/mosh on Darwin
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/zsh.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index ca13f4d0..b7232041 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -237,7 +237,11 @@ in source ${pkgs.fzf}/share/fzf/key-bindings.zsh source ${pkgs.fzf}/share/fzf/completion.zsh - '' + builtins.readFile ../zsh/zshrc; + '' + builtins.readFile ../zsh/zshrc + ( + if stdenv.isDarwin + then builtins.readFile ../zsh/zshrc.darwin + else "" + ); }; home.file."${zshrc}".onChange = |