diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2024-01-27 12:48:07 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2024-01-27 12:49:08 +0000 |
| commit | 6ae73b8c76e070af8216d22f0991f0f4594b0fdb (patch) | |
| tree | a3d046657573a3c717e5e98d3ee4b9a8722e7963 /zsh/functions/pm | |
| parent | 2948545ace2a5d9aa0389eaba3f6f1b0e83cd1cd (diff) | |
zsh: Add ‘pm’ function
Diffstat (limited to 'zsh/functions/pm')
| -rw-r--r-- | zsh/functions/pm | 6 |
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 +} |
