add pyenv stuff to bash_profile and commands..
This commit is contained in:
parent
c114b867d2
commit
f416dc5ea7
|
|
@ -32,6 +32,9 @@ cd() {
|
|||
# Otherwise, use normal cd behavior
|
||||
builtin cd "$target"
|
||||
fi
|
||||
# create an excuse
|
||||
excuse(){
|
||||
curl -s https://bofh-api.bombeck.io/v1/excuses/random/ | jq -r '.[0].quote'
|
||||
}
|
||||
|
||||
# cdl=move to directory and instantly list its contents
|
||||
|
|
@ -83,6 +86,7 @@ alias pign=ping
|
|||
# other stuff
|
||||
alias eierabend='xflock4 ; systemctl suspend --no-wall'
|
||||
alias updgrade='sudo aptitude update && sudo aptitude upgrade -y'
|
||||
alias lock='xflock4'
|
||||
|
||||
# better passwords!
|
||||
alias apg='apg -M sncl -n 15 -m 10 -x 20'
|
||||
|
|
|
|||
|
|
@ -14,3 +14,19 @@ if [ -f ~/.bashrc ]; then
|
|||
. ~/.bashrc
|
||||
fi
|
||||
|
||||
# Load pyenv automatically by appending
|
||||
# the following to
|
||||
# ~/.bash_profile if it exists, otherwise ~/.profile (for login shells)
|
||||
# and ~/.bashrc (for interactive shells) :
|
||||
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init - bash)"
|
||||
|
||||
# Restart your shell for the changes to take effect.
|
||||
|
||||
# Load pyenv-virtualenv automatically by adding
|
||||
# the following to ~/.bashrc:
|
||||
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user