mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
fixed paths
This commit is contained in:
parent
802ceb4037
commit
0f35d621f9
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue