diff options
author | Shav Kinderlehrer <[email protected]> | 2023-08-09 15:05:26 -0400 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-08-09 15:05:26 -0400 |
commit | 24c94e510ab9c016542b287e060c992c195d7987 (patch) | |
tree | b7cd353d3bf4a6a4220fde5c4b6a878c97c23022 /hook.zsh | |
parent | dd5c94c3174cc0fee0cbae4b51d47589894d0e5d (diff) | |
download | prim-24c94e510ab9c016542b287e060c992c195d7987.tar.gz prim-24c94e510ab9c016542b287e060c992c195d7987.zip |
Start add basic prompt
Diffstat (limited to 'hook.zsh')
-rw-r--r-- | hook.zsh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,4 +5,9 @@ prompt_precmd() { export RPS1=`prim --rps1 --col $COLUMNS --row $LINES` } +prompt_preexec() { + print -P `prim --preexec --col $COLUMNS --row $LINES` +} + add-zsh-hook precmd prompt_precmd +add-zsh-hook preexec prompt_preexec |