Don't apply Begin/End key fix on macOS

This commit is contained in:
Kenneth Benzie 2019-06-07 20:07:32 +01:00
parent 7a0c73dabb
commit 7a8cf750bd

2
zshrc
View File

@ -130,8 +130,10 @@ zle -N edit-command-line
bindkey -M vicmd '^V' edit-command-line bindkey -M vicmd '^V' edit-command-line
# Enable HOME and END keys # Enable HOME and END keys
if [[ `uname` = Linux ]]; then
bindkey $key[Home] beginning-of-line bindkey $key[Home] beginning-of-line
bindkey $key[End] end-of-line bindkey $key[End] end-of-line
fi
# Get the shells parent process name. # Get the shells parent process name.
ppid_name() { echo $(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=) } ppid_name() { echo $(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=) }