From 72d7cb02103c6b765e57aa6c2567f8296457ffdf Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sun, 9 Jan 2022 14:24:59 +0000 Subject: zsh/profile: Source other files at the end --- zsh/profile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'zsh') diff --git a/zsh/profile b/zsh/profile index f15282f..1861b82 100644 --- a/zsh/profile +++ b/zsh/profile @@ -1,12 +1,12 @@ # -*- mode: shell-script -*- -source_if_exists dotfiles-${UNAME}/zsh/profile -source_if_exists dotfiles-${DOMAIN}/zsh/profile -source_if_exists dotfiles-${HOST}/zsh/profile - () { local dir for dir in ~/{.local/bin,bin} ${GOPATH:-~/go}/bin; do [[ -d ${dir} ]] && path=(${dir} ${path}) done } + +source_if_exists dotfiles-${UNAME}/zsh/profile +source_if_exists dotfiles-${DOMAIN}/zsh/profile +source_if_exists dotfiles-${HOST}/zsh/profile -- cgit v1.2.3-70-g09d2