Last active
March 3, 2021 18:40
-
-
Save Vac1911/fc42e804a9ce25f7b3b56b09067e1502 to your computer and use it in GitHub Desktop.
Using this as a hack to create a .bashrc in container instances. See comment for dockerfile code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bashrc | |
# show full path display | |
PS1='\u@\h [\w]# ' | |
# User specific aliases and functions | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
alias ll='ls -lah' | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using this as a hack to create a .bashrc in container instances
RUN curl https://gist.githubusercontent.com/Vac1911/fc42e804a9ce25f7b3b56b09067e1502/raw/f7be18ba75f2feffb342eb5f3b49296fdbcacf91/.bashrc >> .bashrc