Minor .zshrc
cleanup
This commit is contained in:
parent
857e977aad
commit
e8c74fafe4
1 changed files with 3 additions and 7 deletions
10
.zshrc
10
.zshrc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue