summaryrefslogtreecommitdiff
path: root/config/essentials/zsh/.zshrc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-25 01:10:02 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-25 01:10:02 +0200
commit44c011c5988077b515204159b6930c69c0475571 (patch)
tree8e441b3c7b8de05f7a92e0bcf61959713bf1edf8 /config/essentials/zsh/.zshrc
parent58ba99570d0bdbb41b5c7c8f2a0c53ea9299ea4c (diff)
checkpoint
Diffstat (limited to 'config/essentials/zsh/.zshrc')
-rw-r--r--config/essentials/zsh/.zshrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc
index 5981fd9..63e3d62 100644
--- a/config/essentials/zsh/.zshrc
+++ b/config/essentials/zsh/.zshrc
@@ -113,6 +113,13 @@ add-zsh-hook -Uz precmd set_wt (){ print -Pn "\e]0;%n@%m on %~\a"; }
## automatic ls after cd
add-zsh-hook -Uz chpwd (){ [ "$PWD" = "$HOME" ] || ls -A; }
+bottom_margin() {
+ TBUFFER="$BUFFER"
+ BUFFER="\n\n\n"
+ BUFFER="\n\n\n $TBUFFER"
+}
+add-zsh-hook -Uz precmd bottom_margin
+
### Variables
## Run menuscripts with fzf
export MENUCMD='fzf'