summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-07-17 22:16:01 -0500
committerzachir <zachir@librem.one>2023-07-18 00:18:23 -0500
commit2372a3612b91a2b43b782d55c7a2929b47405b80 (patch)
tree55c5ea523438318cac1e0da1d8805cd635a2dfed /zsh/.zshrc
parent0bd81accaca03ca4630e475436ba66a41fc31d98 (diff)
Make ^l reset to delete terminal history
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index d11c091..91abe7c 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -94,6 +94,7 @@ bindkey -- '^[[B' down-line-or-beg
[[ -n "${key[Right]}" ]] && bindkey -- "${key[Right]}" forward-char
[[ -n "${key[Shift-Tab]}" ]] && bindkey -- "${key[Shift-Tab]}" reverse-menu-complete
[[ -n "${key[Delete]}" ]] && bindkey -- "${key[Delete]}" delete-char
+bindkey -s '^l' "^ureset^M"
#eval "$(starship init zsh)"
type portmaster-start 2>&1 >/dev/null && eval "$(portmaster-start --data=/opt/safing/portmaster completion zsh)"