example of XDG_DATA_HOME
This commit is contained in:
parent
1e4b9144d5
commit
64817d4bfa
@ -9,7 +9,7 @@ fn check() -> Result<()> {
|
||||
let data_home = std::env::var("XDG_DATA_HOME").unwrap_or("".to_owned());
|
||||
if editor.is_empty() || data_home.is_empty() {
|
||||
Err(anyhow!(
|
||||
"Please make sure variables EDITOR and XDG_DATA_HOME are set."
|
||||
"Please make sure variables EDITOR and XDG_DATA_HOME are set.\n\n\texport XDG_DATA_HOME=\"$HOME/.local/share\""
|
||||
))
|
||||
} else {
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user