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 l='ls -la'
|
||||
alias ll='ls -alr'
|
||||
alias ls='ls -Goh'
|
||||
alias sl=ls
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
alias pm='python manage.py'
|
||||
alias pmr='python manage.py runserver'
|
||||
alias pmrp='python manage.py runserver_plus'
|
||||
alias pmrpg='pmrp --adminmedia=`pwd`/media/admin'
|
||||
|
|
|
|||
|
|
@ -25,3 +25,12 @@ function pj() {
|
|||
|
||||
## Open current directory
|
||||
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() {
|
||||
[ -f './.venv' ] && workon `cat ./.venv`
|
||||
}
|
||||
|
||||
alias deact='deactivate'
|
||||
alias cdv='cd $WORKON_HOME'
|
||||
|
||||
function cdp () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue