summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-07-17 22:16:01 -0500
committerzachir <zachir@librem.one>2023-07-17 22:22:51 -0500
commitd300dc0020fbe7579be489a03ece7b62ad33ffd2 (patch)
tree5f29f78635542a5f74ed76e120f99b2fd1e0cedd
parent16ba0c8b76a0b3d34910a8a65f7a3f0bd6f704dd (diff)
Make ^l reset to delete terminal history
-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)"