import-env: fail if no matching process is found

This commit is contained in:
crater2150 2023-09-04 09:59:24 +02:00
parent d5fa2e99de
commit 9b6c44cce0
7 changed files with 8 additions and 7 deletions

View file

@ -1,8 +1,8 @@
#!/bin/zsh
exec 2>&1
source common.zsh
import-env awesome
source ${0:a:h:h}/import-env.zsh
import-env awesome || exit 1
. $HOME/.local/share/pyenv/versions/3.10.0/envs/pass_secret_service/bin/activate
pass_secret_service