fixed paths

This commit is contained in:
Jan Schmidle 2014-03-09 18:45:31 +01:00
parent 802ceb4037
commit 0f35d621f9
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
zmodload zsh/net/socket 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() { autosuggest-ensure-server() {
setopt local_options no_hup setopt local_options no_hup

View file

@ -75,7 +75,7 @@ print "autosuggestion server started, pid: $$" >&2
zpty z ZLE_DISABLE_AUTOSUGGEST=1 zsh -i zpty z ZLE_DISABLE_AUTOSUGGEST=1 zsh -i
print 'interactive shell started' print 'interactive shell started'
# Source the init script # 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 # wait for ok from shell
read-to-null &> /dev/null read-to-null &> /dev/null