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