Browse Source

.zshrc robustness

master
Dirk Alders 1 year ago
parent
commit
817a48f66f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .zshrc

+ 2
- 2
.zshrc View File

@@ -29,8 +29,8 @@ bindkey '^[[1;5C' forward-word                    # ctrl + ->
29 29
 bindkey '^[[1;5D' backward-word                   # ctrl + <-
30 30
 bindkey '^[[5~' beginning-of-buffer-or-history    # page up
31 31
 bindkey '^[[6~' end-of-buffer-or-history          # page down
32
-bindkey '^[[H' beginning-of-line                  # home
33
-bindkey '^[[F' end-of-line                        # end
32
+bindkey "${terminfo[khome]}" beginning-of-line    # home
33
+bindkey "${terminfo[kend]}" end-of-line           # end
34 34
 bindkey '^[[Z' undo                               # shift + tab undo last action
35 35
 
36 36
 # enable completion features

Loading…
Cancel
Save