/tmp is more likely to exist. And is shorter.
This commit is contained in:
3
examples
3
examples
@@ -7,6 +7,7 @@
|
||||
|
||||
⚡️build() {
|
||||
_help-line "Build an incredible script" "$@"
|
||||
mkdir -p .generated
|
||||
echo 'echo hi; echo "$@"' > .generated/potato
|
||||
chmod +x .generated/potato
|
||||
}
|
||||
@@ -67,4 +68,4 @@ kubectlw() {
|
||||
kubectlw version
|
||||
}
|
||||
|
||||
source <(cat .generated/⚡ || curl https://apps.ofvlad.xyz/⚡ | tee .generated/⚡)
|
||||
source <(cat /tmp/⚡ 2> /dev/null || curl https://apps.ofvlad.xyz/⚡ | tee /tmp/⚡)
|
||||
|
||||
Reference in New Issue
Block a user