From ec5b022828abaef4bcc5bad45c569e2b70fbf733 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 5 Oct 2019 05:50:05 +0200 Subject: Optimise zsh startup --- user/zsh/.config/zsh/.zshrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'user/zsh') diff --git a/user/zsh/.config/zsh/.zshrc b/user/zsh/.config/zsh/.zshrc index 7dd938e2..9d7ef9f7 100644 --- a/user/zsh/.config/zsh/.zshrc +++ b/user/zsh/.config/zsh/.zshrc @@ -1,7 +1,5 @@ # -*- mode: sh; -*- source $HOME/.zplugin/bin/zplugin.zsh -autoload -Uz _zplugin -(( ${+_comps} )) && _comps[zplugin]=_zplugin setopt inc_append_history_time setopt transient_rprompt @@ -114,7 +112,7 @@ ds () { } # returns the first ghq root, whereas $GHQ_ROOT returns all -hash -d p=$(ghq root) +hash -d p=$ghq_root[0] hash -d go=${GOPATH:-$HOME/go} zle -C hist-complete complete-word _generic -- cgit 1.4.1