From 4026db64a933eb75dc558a59f34f949b163e3bfc Mon Sep 17 00:00:00 2001 From: Asmir A Date: Mon, 1 Apr 2024 11:31:40 +0200 Subject: [PATCH] home/zsh: add RPS1 info for bubblewrap --- home/zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/zsh.nix b/home/zsh.nix index f7bb8ff..e4c7067 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -103,6 +103,10 @@ TMUX_EXE="${pkgs.tmux}/bin/tmux" systemd-run --scope --user $TMUX_EXE attach-session -t $USER || systemd-run --scope --user $TMUX_EXE new-session -s $USER fi + + if [[ -n "$BUBBLEWRAP_DIR" ]]; then + RPS1="{{$BUBBLEWRAP_DIR}}" + fi ''; }; }