From 34f27bd3f3f6e2cd3dd6bce6f9a098c90c2a3da5 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Thu, 16 Jul 2020 18:43:28 -0600 Subject: [PATCH] pkgs#purs: show user@host inside ssh session --- pkgs/shells/zsh/purs/default.nix | 8 ++++---- pkgs/shells/zsh/purs/init.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/shells/zsh/purs/default.nix b/pkgs/shells/zsh/purs/default.nix index 7dfda6b..5029d16 100644 --- a/pkgs/shells/zsh/purs/default.nix +++ b/pkgs/shells/zsh/purs/default.nix @@ -10,15 +10,15 @@ in buildRustPackage { version = "0.1.0"; srcs = fetchFromGitHub { - owner = "xcambar"; + owner = "TimB87"; repo = "purs"; - rev = "09ed252625b691841b0043699fd4ab590edabe29"; - hash = "sha256-QwkbqNROksRo+QmRrgkWuoPzPb2XBwavEtlR9oqAXDQ="; + rev = "ee40ff5edf79a1aee7f87b97ca32744944778769"; + hash = "sha256-ETU7dDGVa2ggM+qoFgi8k4MJNuqb3kNCX9ZbEA4r5PM="; }; buildInputs = [ openssl pkgconfig ]; - cargoSha256 = "sha256-vyO2JRRA7FCNVmIeN1xybQXkdgoHbhMGT2AhUJEnp0s="; + cargoSha256 = "sha256-xdDSh4CvUHA8SWBZn21UnNRXZ/SU7RdfNcJjqyE9OXA="; postInstall = '' mkdir -p $out/share/zsh/plugins/purs diff --git a/pkgs/shells/zsh/purs/init.sh b/pkgs/shells/zsh/purs/init.sh index 1d368a8..e1c5064 100644 --- a/pkgs/shells/zsh/purs/init.sh +++ b/pkgs/shells/zsh/purs/init.sh @@ -1,5 +1,5 @@ function zle-line-init zle-keymap-select { - PROMPT=`@PURS@/bin/purs prompt -k "$KEYMAP" -r "$?" --venv "${${VIRTUAL_ENV:t}%-*}"` + PROMPT=`@PURS@/bin/purs prompt -us -k "$KEYMAP" -r "$?" --venv "${${VIRTUAL_ENV:t}%-*}"` zle reset-prompt } zle -N zle-line-init