forked from GH-forks/shmoji
change emojidir to ~/.cache/shmoji
The rationale is `.cache` seems better suited for a file that's not meant to be ever edited but merely downloaded from a source as a reference file. Like `.local/share`, `.cache` is defined by Freedesktop XDG Base Directory Specification. The environment variable should be `$XDG_CACHE_HOME`.
This commit is contained in:
parent
a0e8854a04
commit
6f9016ca68
1 changed files with 1 additions and 1 deletions
2
shmoji
2
shmoji
|
@ -11,7 +11,7 @@
|
|||
set -e
|
||||
|
||||
cmd="$1"
|
||||
emojidir="$HOME/.local/share/shmoji"
|
||||
emojidir="$HOME/.cache/shmoji"
|
||||
emojifile="$emojidir/emojis.txt"
|
||||
|
||||
die() {
|
||||
|
|
Loading…
Reference in a new issue