redundant

Fri, 18 Oct 2019 21:59:21 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 18 Oct 2019 21:59:21 -0500
changeset 808
31133d3dbc98
parent 807
afc9c88b4897
child 809
ff296d6c550f

redundant

.zshrc file | annotate | diff | comparison | revisions
--- a/.zshrc
+++ b/.zshrc
@@ -60,20 +60,6 @@ export HISTIGNORE="ls:cd:cd -:pwd:exit:d
 [[ -n "${terminfo[knp]}"   ]] && bindkey -- "${terminfo[knp]}"   end-of-buffer-or-history
 [[ -n "${terminfo[kcbt]}"  ]] && bindkey -- "${terminfo[kcbt]}"  reverse-menu-complete
 
-# Finally, make sure the terminal is in application mode, when zle is
-# active. Only then are the values from $terminfo valid.
-if (( ${+terminfo[smkx]} && ${+terminfo[rmkx]} )); then
-	autoload -Uz add-zle-hook-widget
-	function zle_application_mode_start {
-		echoti smkx
-	}
-	function zle_application_mode_stop {
-		echoti rmkx
-	}
-	add-zle-hook-widget -Uz zle-line-init zle_application_mode_start
-	add-zle-hook-widget -Uz zle-line-finish zle_application_mode_stop
-fi
-
 source ~/.profile.common
 
 for envthing in $envthings; do

mercurial