From 6ae73b8c76e070af8216d22f0991f0f4594b0fdb Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sat, 27 Jan 2024 12:48:07 +0000 Subject: zsh: Add ‘pm’ function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/functions/pm | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 zsh/functions/pm (limited to 'zsh/functions') diff --git a/zsh/functions/pm b/zsh/functions/pm new file mode 100644 index 0000000..00cdc73 --- /dev/null +++ b/zsh/functions/pm @@ -0,0 +1,6 @@ +# -*- mode: shell-script -*- + +pm() { + PS1="🔒 ${PS1}" + fc -p +} -- cgit v1.2.3-70-g09d2