-
Notifications
You must be signed in to change notification settings - Fork 7
/
zsh_aliases
46 lines (35 loc) · 1.52 KB
/
zsh_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Emacs
alias emacs='emacs -nw'
# Play sound after command
alias s='notify-send -u critical -i /usr/share/icons/Numix-Circle/48/apps/checkbox.svg Done "Task completed" && aplay -q ~/shascii/sounds/done.wav 2>/dev/null'
alias k='aplay -q ~/shascii/sounds/i-will-kill-you.wav 2>/dev/null'
# Virtualenv3
alias virtualenv3='virtualenv --python=python3'
# Django
alias pm='python manage.py'
alias pmr='python manage.py runserver'
alias pms='python manage.py shell'
alias pmt='python manage.py test'
alias pmsy='python manage.py syncdb --all --noinput'
# Redis
alias redis-server='~/redis/src/redis-server'
alias redis-cli='~/redis/src/redis-cli'
alias redis-sentinel='~/redis/src/redis-sentinel'
alias redis-benchmark='~/redis/src/redis-benchmark'
alias redis-check-aof='~/redis/src/redis-check-aof'
alias redis-check-dump='~/redis/src/redis-check-dump'
# Memcached
alias memcached='~/memcached-1.4.25/memcached'
# Android Studio
alias android='$HOME/android-studio/bin/studio.sh'
alias adb=$HOME/android-sdk/platform-tools/adb
# Arduino
alias arduino='~/arduino-1.0.6/arduino'
# Glance
alias glances='docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host --network host -it docker.io/nicolargo/glances'
# Dockly
alias dockly='docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock lirantal/dockly'
# Docker
alias docker-clean='docker container ls -a -q || docker container stop $(docker container ls -a -q) && docker system prune -a -f --volumes'
# Trinity
alias trinity='~/trinity/trinity-desktop-0.4.6.AppImage'