summaryrefslogtreecommitdiff
path: root/zsh/functions/pm
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-01-27 12:48:07 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2024-01-27 12:49:08 +0000
commit6ae73b8c76e070af8216d22f0991f0f4594b0fdb (patch)
treea3d046657573a3c717e5e98d3ee4b9a8722e7963 /zsh/functions/pm
parent2948545ace2a5d9aa0389eaba3f6f1b0e83cd1cd (diff)
zsh: Add ‘pm’ function
Diffstat (limited to 'zsh/functions/pm')
-rw-r--r--zsh/functions/pm6
1 files changed, 6 insertions, 0 deletions
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
+}