#! /bin/zsh # # this file: # https://dataswamp.org/~incal/conf/.zsh/shell-keys # show time on CAPS (which is ē) show-time () { echo long-date zle accept-line } zle -N show-time bindkey -M main ē show-time # M-0 bindkey -M main '^[0' undo # Emacs-style bindkey -e WORDCHARS=''