mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-04-16 05:46:02 -05:00
Config: Fixed bug with default config not getting created
This commit is contained in:
parent
39cb924790
commit
ece5ccf44b
2
neofetch
2
neofetch
|
|
@ -3563,7 +3563,7 @@ get_user_config() {
|
|||
config_file="${XDG_CONFIG_HOME}/neofetch/config"
|
||||
|
||||
elif [[ -f "/etc/neofetch/config" ]]; then
|
||||
cp "/usr/share/neofetch/config" "${XDG_CONFIG_HOME}/neofetch"
|
||||
cp "/etc/neofetch/config" "${XDG_CONFIG_HOME}/neofetch"
|
||||
config_file="${XDG_CONFIG_HOME}/neofetch/config"
|
||||
|
||||
elif [[ -f "/usr/local/etc/neofetch/config" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user