feat: Home- End- Delete- key fix for zsh

This commit is contained in:
Ward Truyen
2025-12-08 22:03:43 +01:00
parent 60b80e0051
commit 6d5979803b

6
.zshrc
View File

@@ -10,6 +10,7 @@ HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/ward/.zshrc'
@@ -18,6 +19,11 @@ autoload -Uz compinit
compinit
# End of lines added by compinstall
# Fixing some keys inside zsh
bindkey "^[[H" beginning-of-line #Home-key
bindkey "^[[F" end-of-line #End-key
bindkey "^[[3~" delete-char #Delete-key
# personal aliases
alias ls='ls --color=auto'
alias la='ls -a'