diff --git a/.bin/ansible-vault-manager b/.bin/ansible-vault-manager index 8114135..12c7dc5 100755 --- a/.bin/ansible-vault-manager +++ b/.bin/ansible-vault-manager @@ -27,15 +27,14 @@ if [[ $url =~ $re ]]; then fi project="$user/$repo" +pass_paths=() +pass_content=$(pass "ansible/$project") -if ! pass "ansible/$project" >/dev/null 2>&1; then - echo "Error: ansible/$project not found in pass" >&2 +if [ "$?" -ne 0 ]; then + echo "Error: failed to load ansible/$project from pass" >&2 exit 1 fi -pass_content=$(pass "ansible/$project") -pass_paths=() - grep_filter="^path:" if [ -n "$target" ]; then grep_filter="^path: $target$" diff --git a/.config/home-manager/fonts.nix b/.config/home-manager/fonts.nix index 08ffa46..5c1138a 100644 --- a/.config/home-manager/fonts.nix +++ b/.config/home-manager/fonts.nix @@ -7,7 +7,7 @@ dejavu_fonts freefont_ttf liberation_ttf - (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) + nerd-fonts.jetbrains-mono noto-fonts roboto twitter-color-emoji