From b69760342e7527e0790dd1c0d3059de2fbb210bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C5=82azie=C5=84ski?= Date: Tue, 5 Apr 2016 20:03:11 +0200 Subject: [PATCH] loading machine-specific config before post setup, allowing completion extensions --- .zshrc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.zshrc b/.zshrc index 9a32796..c8035b4 100644 --- a/.zshrc +++ b/.zshrc @@ -535,6 +535,12 @@ for command in find wget; \ # load zsh extended move autoload -Uz zmv +#---------------------------------- Machine specific -------------------------- + +if [[ -r $HOME/.zlocal ]]; then + source $HOME/.zlocal +fi + #---------------------------------- Post Setup -------------------------------- # at last initialize completion @@ -549,9 +555,4 @@ store_last_return_value() { # This must be exactly first precmd function, because other precmd might modify $? precmd_functions=(store_last_return_value $precmd_functions) -#---------------------------------- Machine specific -------------------------- - -if [[ -r $HOME/.zlocal ]]; then - source $HOME/.zlocal -fi