Skip to content
Snippets Groups Projects
Commit 7e423ae7 authored by Jens Nolte's avatar Jens Nolte
Browse files

Use += to change fpath in zsh

parent fd5ec33a
No related branches found
No related tags found
No related merge requests found
......@@ -16,10 +16,8 @@ in
programs.zsh.promptInit = ''
if [ "$TERM" != dumb ]
then
fpath=(
${promptPath}
$fpath
)
fpath+=${promptPath}
source ${promptPath}/load_prompt
fi
'';
......@@ -69,7 +67,7 @@ in
#export LESSOPEN="| ${pkgs.lesspipe}/bin/lesspipe.sh %s 2>&-"
programs.zsh.interactiveShellInit = ''
fpath=($LOCAL_ZSH_COMPLETION_PATH $fpath)
fpath+=$LOCAL_ZSH_COMPLETION_PATH
zstyle ':completion:*' auto-description '%d'
zstyle ':completion:*' completer _expand _complete _ignored
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment