mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Update $0 handler
This commit is contained in:
parent
f455a72cb1
commit
a3541a9dfb
1 changed files with 4 additions and 1 deletions
|
|
@ -1 +0,0 @@
|
|||
zsh-autosuggestions.zsh
|
||||
4
zsh-autosuggestions.plugin.zsh
Normal file
4
zsh-autosuggestions.plugin.zsh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
0="${ZERO:-${${0:#$ZSH_ARGZERO}:-${(%):-%N}}}"
|
||||
0="${${(M)0:#/*}:-$PWD/$0}"
|
||||
|
||||
source ${0:h}/zsh-autosuggestions.zsh
|
||||
Loading…
Add table
Add a link
Reference in a new issue