7 lines
226 B
Plaintext
7 lines
226 B
Plaintext
![]() |
#!/bin/zsh
|
||
|
source ${$(realpath "$0"):h:h}/lib/next-in-path.zsh
|
||
|
program="${0:a:t}"
|
||
|
envwrapconf=${XDG_CONFIG_HOME:-$HOME/.config}/envwrap/$program
|
||
|
[[ -e $envwrapconf ]] && source $envwrapconf
|
||
|
$(next-in-path "$program" $0) "$@"
|