Minor .zshrc cleanup

This commit is contained in:
Daniel McKnight 2025-06-08 22:48:06 -07:00
parent 857e977aad
commit e8c74fafe4

10
.zshrc
View file

@ -9,9 +9,7 @@ bindkey -v
# Configure cursor
function zle-keymap-select {
#RPS1="${${KEYMAP/vicmd/-- NORMAL --}/(main|viins)/-- INSERT --}"
#RPS2=$RPS1
zle reset-prompt
zle reset-prompt
case $KEYMAP in
vicmd)
@ -100,6 +98,7 @@ alias ll='ls -alFh'
alias ls="ls --color=auto"
alias lsl="ls --color=auto -lah"
alias ssh=ssh
# Use tmux for local unelevated shells
if [ -z "${SUDO_USER}" ] && [ -z "${SSH_CONNECTION}" ] && [ -z "${TERM_PROGRAM}" ]; then
tmux new -A -s local_tmux
@ -151,10 +150,7 @@ zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-syntax-highlighting
# Key bindings config
KEYTIMEOUT=5
#KEYTIMEOUT=5
# ^[ for esc; ^I for tab
bindkey '^[[Z' autosuggest-accept
## Explicitly exit ok
#echo "" > /dev/null