Skip to content

Commit

Permalink
Set default value if XDG variable not set
Browse files Browse the repository at this point in the history
Co-authored-by: WATANABE Yuki <[email protected]>
  • Loading branch information
unrealapex and magicant authored Sep 24, 2024
1 parent b3d10b3 commit aae6e60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion share/initialization/default
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ cat <<__END__
Welcome to yash!
You are seeing this message because a user-specific initialization script is
not found at $XDG_CONFIG_HOME/yash/rc or ~/.yashrc. The current session has been loaded with common
not found at ${XDG_CONFIG_HOME:-$HOME/.config}/yash/rc or ~/.yashrc.
The current session has been loaded with common
settings that should be useful for many users. To suppress this message, copy
a sample initialization script from ${yashdatadir}/initialization/sample
to ~/.yashrc and make any customization in it if you want. For bare default
Expand Down

0 comments on commit aae6e60

Please sign in to comment.