7 lines
226 B
Bash
Executable file
7 lines
226 B
Bash
Executable file
#!/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) "$@"
|