Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document how to check if a variable is unset #477

Open
xenoterracide opened this issue Dec 22, 2023 · 2 comments
Open

document how to check if a variable is unset #477

xenoterracide opened this issue Dec 22, 2023 · 2 comments
Labels

Comments

@xenoterracide
Copy link

I could swear I used to do this somewhere...

https://yadm.io/docs/templates#

{% if yadm.class == "" %}
{% else %}
{% include "../extra/gitconfig.{{ yadm.class }}.ini" %}
{% endif %}
/home/xeno/.config/yadm/alt/.gitconfig##template,e.ini:37: error: could not read '/home/xeno/.config/yadm/alt/../extra/gitconfig..ini'

funny because I run zsh

bash version 5.2.21(1)-release
 git version 2.43.0
yadm version 3.2.2
Copy link

This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Feb 21, 2024
Copy link

This issue was closed because it has been labeled as stale for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants