-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc.sh
More file actions
22 lines (21 loc) · 815 Bytes
/
Copy pathbashrc.sh
File metadata and controls
22 lines (21 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# yes I use VIM
export EDITOR=vim
# update everything quickly
alias quickUpdate="sudo apt update && sudo apt dist-upgrade -y"
# turn off IPv6 for crappy VPN
alias ipv6Kill="sudo sh -c 'echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6'"
alias ipv6Restore="sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'"
# working with git
alias s='git status'
alias d='git diff HEAD | colordiff | less -R'
# django development
alias act='source env/bin/activate'
alias rs='python manage.py runserver 0.0.0.0:8000'
# init raspberry pi connection
alias raspi='sudo screen /dev/ttyUSB0 115200'
# get ports being used
alias getPorts='netstat -tulpn'
# dirs with specific bins
PATH=$PATH:/home/$USER/pycharm:/home/$USER/pycharm/bin
PATH=$PATH:/home/$USER/android-studio/platform-tools
PATH=$PATH:/home/$USER/nodejs/bin