summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-07-17 22:16:01 -0500
committerzachir <zachir@librem.one>2023-08-10 21:34:53 -0500
commitf1ab87d5de1e9b33c75808929575d193bc2c0ead (patch)
tree1e04d3cc83c1cc79e4e6d0a657247a17d2a33098 /zsh
parent8e91ca3015106be039e639f4403f0c96ded5741c (diff)
Make ^l reset to delete terminal history
Diffstat (limited to 'zsh')
-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)"