mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Move over a few more aliases from my personal .zshrc.
This commit is contained in:
parent
01680434ff
commit
37303d022e
4 changed files with 14 additions and 3 deletions
|
|
@ -48,4 +48,5 @@ alias d='dirs -v'
|
||||||
alias lsa='ls -lah'
|
alias lsa='ls -lah'
|
||||||
alias l='ls -la'
|
alias l='ls -la'
|
||||||
alias ll='ls -alr'
|
alias ll='ls -alr'
|
||||||
|
alias ls='ls -Goh'
|
||||||
alias sl=ls
|
alias sl=ls
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
alias pm='python manage.py'
|
||||||
alias pmr='python manage.py runserver'
|
alias pmr='python manage.py runserver'
|
||||||
alias pmrp='python manage.py runserver_plus'
|
alias pmrp='python manage.py runserver_plus'
|
||||||
alias pmrpg='pmrp --adminmedia=`pwd`/media/admin'
|
alias pmrpg='pmrp --adminmedia=`pwd`/media/admin'
|
||||||
|
|
@ -7,4 +8,4 @@ alias pmlf='python manage.py loaddata fixtures/*'
|
||||||
|
|
||||||
alias gs='gunicorn_django'
|
alias gs='gunicorn_django'
|
||||||
alias gk='kill `cat .gunicorn.pid`'
|
alias gk='kill `cat .gunicorn.pid`'
|
||||||
alias gl='tail -f .gunicorn.log'
|
alias gl='tail -f .gunicorn.log'
|
||||||
|
|
|
||||||
11
lib/misc.zsh
11
lib/misc.zsh
|
|
@ -24,4 +24,13 @@ function pj() {
|
||||||
}
|
}
|
||||||
|
|
||||||
## Open current directory
|
## Open current directory
|
||||||
alias oo='open .'
|
alias oo='open .'
|
||||||
|
|
||||||
|
## Start a local SMTP server and dump emails sent to it to the console
|
||||||
|
alias smtpconsole='python -m smtpd -n -c DebuggingServer localhost:1025'
|
||||||
|
|
||||||
|
## Serve the current folder on port 80
|
||||||
|
alias serve_this='python -m SimpleHTTPServer'
|
||||||
|
|
||||||
|
## Highlight-aware less command
|
||||||
|
alias hl='less -R'
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
function wo() {
|
function wo() {
|
||||||
[ -f './.venv' ] && workon `cat ./.venv`
|
[ -f './.venv' ] && workon `cat ./.venv`
|
||||||
}
|
}
|
||||||
|
alias deact='deactivate'
|
||||||
alias cdv='cd $WORKON_HOME'
|
alias cdv='cd $WORKON_HOME'
|
||||||
|
|
||||||
function cdp () {
|
function cdp () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue