diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc index 6925123..0acc496 100644 --- a/bash/bashrc/rbashrc +++ b/bash/bashrc/rbashrc @@ -179,14 +179,15 @@ function rbash_upgrade { function rbash_run { echo "Getting: $1" - __cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/$1;hb=HEAD" + __cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=$1;hb=HEAD" shift __uuid TMPID TMPFILE=/tmp/$TMPID __cryptd "$__CFILE" "$TMPFILE" - bash "$TMPFILE" $@ - rm "$TMPFILE"; + chmod 700 "$TMPFILE" + "$TMPFILE" $@ + rm "$TMPFILE" } export PS1='This is \e[1;3m\e[0m: \w\n\$ '