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:16:01 -0500
commita6b9567abf409f35210a1d749b15ecf8864bf4ef (patch)
tree454015579616d087799ce175bd320374b42e5e34
parenta059f309e5890d605b85c34f21894b4e7a5a91ce (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)"