Update vibe coding.
This commit is contained in:
		
							parent
							
								
									a1840cd034
								
							
						
					
					
						commit
						22668f8a72
					
				@ -6,6 +6,6 @@ RUN wget https://retoor.molodetz.nl/api/packages/retoor/generic/r/1.0.0/r
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
RUN chmod +x r
 | 
					RUN chmod +x r
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN cp r /usr/local/bin
 | 
					RUN mv r /usr/local/bin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CMD ["r"]
 | 
					CMD ["r"]
 | 
				
			||||||
 | 
				
			|||||||
@ -93,7 +93,6 @@ fi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "R is installed. Type r to run it."
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# enable programmable completion features (you don't need to enable
 | 
					# enable programmable completion features (you don't need to enable
 | 
				
			||||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
 | 
					# 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
 | 
					#    . /etc/bash_completion
 | 
				
			||||||
#fi
 | 
					#fi
 | 
				
			||||||
export PS1="root@snek: "
 | 
					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
 | 
				
			||||||
 | 
				
			|||||||
@ -7,3 +7,5 @@ if [ "$BASH" ]; then
 | 
				
			|||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
mesg n 2> /dev/null || true
 | 
					mesg n 2> /dev/null || true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user