Skip to content

Instantly share code, notes, and snippets.

@basavyr
Created March 5, 2022 10:50
Show Gist options
  • Save basavyr/bcc8ec3fc1dc0de07a870682066843c1 to your computer and use it in GitHub Desktop.
Save basavyr/bcc8ec3fc1dc0de07a870682066843c1 to your computer and use it in GitHub Desktop.
setup a linux container for python development with python
# .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