removing useless venv function (use pew instead)
This commit is contained in:
parent
c20c1ea7c6
commit
b87072b008
2 changed files with 0 additions and 18 deletions
|
@ -23,12 +23,3 @@ alias meteo='curl -s --user-agent "USER FUCKING AGENT" "http://thefuckingweather
|
|||
alias ryzom_season_change='date --date $(wget -q -O - "http://api.ryzom.com/time.php?format=xml" | sed "s/></>\n</g" | /bin/grep -e "day_of_season" -e "time_of_day" | sed "s/<day_of_season>/\(89-/" | sed "s/<time_of_day>/\(23-/g" | sed "s/<\/day_of_season>/\)\*72/" | sed "s/<\/time_of_day>/\)\*3/" | bc | tr "\n" "+" | sed "s/\+$/\n\"min\"\n/" | bc | tr -d "\n")'
|
||||
|
||||
fliptable() { echo "(╯°□°)╯ ┻━┻"; }
|
||||
|
||||
# Usage: venv project_name
|
||||
# Activate the python virtualenv for <project_name>.
|
||||
venv()
|
||||
{
|
||||
if [ -f "${HOME}/venvs/$1/bin/activate" ]; then
|
||||
. "${HOME}/venvs/$1/bin/activate"
|
||||
fi
|
||||
}
|
||||
|
|
9
.zshrc
9
.zshrc
|
@ -48,12 +48,3 @@ alias df='df -h'
|
|||
alias top='TERM=screen-256color htop'
|
||||
alias weechat='TERM=screen-256color weechat'
|
||||
alias lock='xscreensaver-command --lock'
|
||||
|
||||
# Usage: venv project_name
|
||||
# Activate the python virtualenv for <project_name>.
|
||||
venv()
|
||||
{
|
||||
if [ -f "${HOME}/venvs/$1/bin/activate" ]; then
|
||||
. "${HOME}/venvs/$1/bin/activate"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue