You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem
I would like to standardize my configuration across machines and thus have $XDG_CONFIG_HOME/Psst/config.json read-only. That is however not possible with the tokens being written there.
Possible solution
If the tokens could be stored in a separate file such as $XDG_CONFIG_HOME/Psst/creds.json or similar.
Alternative solution(s)
I can work around things by using a launcher script that patches config.json but it's pretty ugly.
Additional context
This would also help people who like to keep their config directly in a git (or similar) repository.
The text was updated successfully, but these errors were encountered:
Come to think of it - since many people store a lot of their dotfiles in a repository, if the path isn't configurable, it should probably be under $XDG_STATE_HOME and not $XDG_CONFIG_HOME.
The problem
I would like to standardize my configuration across machines and thus have
$XDG_CONFIG_HOME/Psst/config.json
read-only. That is however not possible with the tokens being written there.Possible solution
If the tokens could be stored in a separate file such as
$XDG_CONFIG_HOME/Psst/creds.json
or similar.Alternative solution(s)
I can work around things by using a launcher script that patches
config.json
but it's pretty ugly.Additional context
This would also help people who like to keep their config directly in a git (or similar) repository.
The text was updated successfully, but these errors were encountered: