Update vibe coding.

This commit is contained in:
retoor 2025-04-13 11:39:12 +02:00
parent a1840cd034
commit 22668f8a72
3 changed files with 21 additions and 2 deletions

View File

@ -6,6 +6,6 @@ RUN wget https://retoor.molodetz.nl/api/packages/retoor/generic/r/1.0.0/r
RUN chmod +x r
RUN cp r /usr/local/bin
RUN mv r /usr/local/bin
CMD ["r"]

View File

@ -93,7 +93,6 @@ fi
echo "R is installed. Type r to run it."
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
@ -102,3 +101,21 @@ echo "R is installed. Type r to run it."
# . /etc/bash_completion
#fi
export PS1="root@snek: "
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
function r_update(){
if [ -f "r" ]; then
rm "r"
fi
curl -OJ https://retoor.molodetz.nl/api/packages/retoor/generic/r/1.0.0/r --silent
chmod +x r
mv r /usr/local/bin/r
}
r_update
r

View File

@ -7,3 +7,5 @@ if [ "$BASH" ]; then
fi
mesg n 2> /dev/null || true