mirror of
https://github.com/tmux-plugins/tmux-cpu.git
synced 2026-09-10 07:16:16 -04:00
parent
b627ba850a
commit
ec3b7e35e5
|
|
@ -126,7 +126,7 @@ put_cache_val() {
|
|||
local val
|
||||
local tmpdir
|
||||
key="$1"
|
||||
val="${@:2}"
|
||||
val="$2"
|
||||
tmpdir="$(get_tmp_dir)"
|
||||
[ ! -d "$tmpdir" ] && mkdir -p "$tmpdir" && chmod 0700 "$tmpdir"
|
||||
get_time >"$tmpdir/$key"
|
||||
|
|
|
|||
Loading…
Reference in a new issue