mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: whkd(and komorebi_config_home don't accept $Env:USERPROFILE
#304
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @azinsharaf on GitHub (Feb 28, 2024).
Describe the bug
whkd_config_home doesn't accept
$Env:USERPROFILETo Reproduce
Steps to reproduce the behavior:
use
$Env:WHKD_CONFIG_HOME = '$Env:USERPROFILE\.config\whkd'in powershell profile.run
whkdin terminalreturns error:
The application panicked (crashed). Message: $Env:WHKD_CONFIG_HOME is set to '$Env:USERPROFILE\.config\whkd', which is not a valid directory Location: src\main.rs:38but it works fine if i hardcode the full path in the profile file:
$Env:WHKD_CONFIG_HOME = 'C:\Users\asharaf\.config\whkd'Operating System
komorebic checkOutputProvide the output of
komorebic check@melMass commented on GitHub (Mar 21, 2024):
That's a windows thing.
Powershell like bash doesn't expand with single quotes.
@azinsharaf commented on GitHub (Mar 21, 2024):
thank you so much! it worked!