config/shell/arch: separate yas cache by user
This commit is contained in:
parent
b6ebff6655
commit
3ecd987437
|
@ -22,8 +22,8 @@ yzf() {
|
||||||
|
|
||||||
# print -s adds a shell history entry
|
# print -s adds a shell history entry
|
||||||
yas() {
|
yas() {
|
||||||
cache_dir="/tmp/yas"
|
cache_dir="/tmp/yas-$USER"
|
||||||
test "$1" = "-y" && rm -r "$cache_dir" && shift
|
test "$1" = "-y" && rm -rf "$cache_dir" && shift
|
||||||
mkdir -p "$cache_dir"
|
mkdir -p "$cache_dir"
|
||||||
preview_cache="$cache_dir/preview_{2}"
|
preview_cache="$cache_dir/preview_{2}"
|
||||||
list_cache="$cache_dir/list"
|
list_cache="$cache_dir/list"
|
||||||
|
|
Loading…
Reference in New Issue