Adding a bash_alias file to the config files saved

This commit is contained in:
alex 2026-01-08 22:58:19 +00:00
parent 93768b2650
commit edb2261680

9
.bash_aliases Normal file
View File

@ -0,0 +1,9 @@
#Docker images with all the R packages I have ever used
alias r-full='docker run -ti --rm -v ./:/R-Code/ acg/r_full:latest bash' #Pull in the current directory into the docker image. Enter the image to modify with a r vim IDE preloaded.
alias r-full-script='docker run -v ./:/R-Code/ acg/r_full:latest Rscript' #Run a r-file as a script rather than Interactively
#Docker images with minimal packages loaded to save space
alias r-min='docker run -ti --rm -v ./:/R-Code/ acg/r_minimal:latest bash'
alias r-min-script='docker run -v ./:/R-Code/ acg/r_minimal:latest Rscript'
#Remove docker images
alias docker-prune='docker system prune --all --volumes --force'