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

Config flag doesn't expand ~ to home path on Windows #237

Closed
1 task done
mekwall opened this issue Jan 3, 2025 · 0 comments · Fixed by #238
Closed
1 task done

Config flag doesn't expand ~ to home path on Windows #237

mekwall opened this issue Jan 3, 2025 · 0 comments · Fixed by #238
Assignees

Comments

@mekwall
Copy link

mekwall commented Jan 3, 2025

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

Aliae doesn't find the config when using ~ with the config flag.

This doesn't work:

aliae init pwsh --config "~\OneDrive\Configs\aliae.yaml" | Invoke-Expression`

This works:

aliae init pwsh --config "C:\Users\mekwall\OneDrive\Configs\aliae.yaml" | Invoke-Expression

This works just fine with oh-my-posh so it would be awesome if support could be added.

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

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

Successfully merging a pull request may close this issue.

2 participants