mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-12 07:59:01 +00:00
Bugfix: don't rewrite the cache everytime, since that makes it useless.
parent
954587da2b
commit
aa83cad180
@ -31,7 +31,7 @@ experimentallyinstantlylockkludginglyverylongname () {
|
|||||||
printf %s " $$ " >>"$THEFUCK_EXPERIMENTAL_LOCK_KLUDGE"
|
printf %s " $$ " >>"$THEFUCK_EXPERIMENTAL_LOCK_KLUDGE"
|
||||||
[[ ! -f "$thefuck_experimental_cache" ]] \
|
[[ ! -f "$thefuck_experimental_cache" ]] \
|
||||||
&& thefuck --enable-experimental-instant-mode --alias noop >"$thefuck_experimental_cache" \
|
&& thefuck --enable-experimental-instant-mode --alias noop >"$thefuck_experimental_cache" \
|
||||||
&& source "$thefuck_experimental_cache"
|
source "$thefuck_experimental_cache"
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ ! -e "$THEFUCK_EXPERIMENTAL_LOCK_KLUDGE" ]] \
|
[[ ! -e "$THEFUCK_EXPERIMENTAL_LOCK_KLUDGE" ]] \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user