Skip to content

Commit af9c363

Browse files
committed
update bashrc
1 parent ef60d12 commit af9c363

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

shell/bashrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#PS1='\[\e[1;38m\]\h \[\e[38;5;172m\]${VIRTUAL_ENV##*/} \[\e[38;5;27m\]\W\[\e[0m\] \[\e[1;38m\]'
22
PS1='\[\e[0;37m\]\h \[\e[0;34m\]${VIRTUAL_ENV##*/} \[\e[0;33m\]\W\[\e[0m\] \[\e[0;37m\]'
3+
#PS1='\[\e[0;30m\]\h \[\e[0;34m\]${VIRTUAL_ENV##*/} \[\e[0;34m\]\W\[\e[0m\] \[\e[0;30m\]'
34
#PS1='\[\e[0;15m\]\h \[\e[0;15m\]${VIRTUAL_ENV##*/} \[\e[0;15m\]\W\[\e[0m\] \[\e[0;15m\]'
45

56
set -o vi
@@ -21,11 +22,15 @@ alias chrome='google-chrome-stable --no-sandbox'
2122
alias ipython='ipython --TerminalInteractiveShell.editing_mode=vi'
2223
alias ipython2='ipython2 --TerminalInteractiveShell.editing_mode=vi'
2324

24-
alias bat='cat /sys/class/power_supply/BAT1/capacity'
25+
alias bat='cat /sys/class/power_supply/BAT0/capacity /sys/class/power_supply/BAT0/status'
2526
# added by Anaconda3 4.2.0 installer
2627
#export PATH="/root/anaconda3/bin:$PATH"
2728
#export GOOGLE_API_KEY='AIzaSyBuRN8eKlM0TFIbOkW6uam5bQz6uYXnRfs'
2829
alias py35='cd /home/random/code/python35 && . ../python35_env/bin/activate'
2930
alias db='cd /home/mp/docker_box/docker_box && . ../db_env/bin/activate'
3031
alias ipython='ipython --TerminalInteractiveShell.editing_mode=vi'
3132
alias ipython2='ipython2 --TerminalInteractiveShell.editing_mode=vi'
33+
alias ssh2='ssh -o ServerAliveInterval=90 -o StrictHostKeyChecking=no $1'
34+
alias aria2c2='aria2c -j10 -x10 -s10 $1'
35+
alias aria2c3='aria2c -j10 -x10 -s10 --seed-time=0 $1'
36+
alias ssh3='ssh -o ServerAliveInterval=90 -o StrictHostKeyChecking=no 34.217.144.66'

0 commit comments

Comments
 (0)