Skip to content

Commit

Permalink
Add pyenv and docker compose aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-pai-long committed Oct 7, 2019
1 parent a1821b1 commit 4fdaefa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,15 @@ alias ipy='~/.pyenv/versions/default/bin/ipython'

# --------- Make
alias m='make '

# ---- Pyenv
# FIXME: It seems to use the previously visited direrectory as PWD instead of the current one...
alias pav="pyenv activate $(basename ${PWD})"
alias plv="pyenv virtualenvs | cut -d ' ' -f3 | grep -v '^[0-9]'"
alias pli="pyenv versions --bare --skip-aliases | cut -d'/' -f1 | uniq"


# ---- Docker ---
# NOTE: This will override dc a.k.a GNU desk calculator,
# I never use it so I don't case but still it should be known.
alias dc="docker-compose "

0 comments on commit 4fdaefa

Please sign in to comment.