Created
March 5, 2022 10:50
-
-
Save basavyr/bcc8ec3fc1dc0de07a870682066843c1 to your computer and use it in GitHub Desktop.
setup a linux container for python development with python
This file contains hidden or 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 | |
# User specific aliases and functions | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
# custom commands | |
alias ls='ls --color=auto' | |
alias la='ls -la' | |
alias source1='source ~/.bashrc' | |
alias source2='source ~/.bash_profile' | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
export PATH="$PATH:$HOME/bin" | |
export PATH="$PATH:/root/.local/bin" | |
export PYENV_ROOT="$HOME/.pyenv" | |
export PATH="$PYENV_ROOT/bin:$PATH" | |
if command -v pyenv 1>/dev/null 2>&1; then | |
eval "$(pyenv init -)" | |
fi | |
eval "$(pyenv init -)" | |
eval "$(pyenv init --path)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment