From 25dbc57b1132f3c6955d71b783e774913080fa7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 24 Sep 2019 23:31:41 +0200 Subject: [PATCH] feat(zsh): directory in title bar --- configs/zsh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/zsh.nix b/configs/zsh.nix index 4843879..aa508f9 100644 --- a/configs/zsh.nix +++ b/configs/zsh.nix @@ -75,6 +75,7 @@ else PROMPT='%B%~%b %(?.%F{${promptColours.success}}.%F{${promptColours.failure}})%#%f ' fi + print -Pn "\e]2;%n@%M:%~\a" # title bar prompt } zle-keymap-select zle-line-init () {