diff --git a/lib/completion-client.zsh b/lib/completion-client.zsh index ac487ed..c8cd957 100755 --- a/lib/completion-client.zsh +++ b/lib/completion-client.zsh @@ -1,7 +1,7 @@ #!/usr/bin/env zsh zmodload zsh/net/socket -AUTOSUGGEST_SERVER_SCRIPT="${0:a:h}/lib/completion-server.zsh" +AUTOSUGGEST_SERVER_SCRIPT="${0:a:h}/completion-server.zsh" autosuggest-ensure-server() { setopt local_options no_hup diff --git a/lib/completion-server.zsh b/lib/completion-server.zsh index 718193a..cd103f1 100755 --- a/lib/completion-server.zsh +++ b/lib/completion-server.zsh @@ -75,7 +75,7 @@ print "autosuggestion server started, pid: $$" >&2 zpty z ZLE_DISABLE_AUTOSUGGEST=1 zsh -i print 'interactive shell started' # Source the init script -zpty -w z "source '${0:a:h}/lib/completion-server-init.zsh'" +zpty -w z "source '${0:a:h}/completion-server-init.zsh'" # wait for ok from shell read-to-null &> /dev/null