-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
51 lines (43 loc) · 1.22 KB
/
.bashrc
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
47
48
49
50
51
#!/bin/bash
# pyenv install
#if [ ! -e ~/.pyenv ]; then
# git clone https://github.com/pyenv/pyenv.git ~/.pyenv
#fi
#export PYENV_ROOT="$HOME/.pyenv"
#export PATH="$PYENV_ROOT/bin:$PATH"
#eval "$(pyenv init -)"
if [ "`uname`" == 'Darwin' ]; then
PATH=$PATH:/Users/derbuihan/Library/Android/sdk/platform-tools
PATH=$PATH:/usr/local/bin
PATH=$PATH:/usr/local/opt/coreutils/libexec/gnubin
MANPATH=$MANPATH:/usr/local/opt/coreutils/libexec/gnubin
export PATH=/usr/local/Cellar/smlnj/110.76/libexec/bin:$PATH
alias ls="gls --color=auto"
alias df="gdf"
else
alias ls="ls --color=auto"
alias df="df"
fi
#if which free > /dev/null; then
# alias free="free -h"
#fi
#if which jq > /dev/null; then
# alias gip="wget -q -O - 'http://httpbin.org/ip' | cat - | jq -r '.origin'"
#else
# alias gip="wget -q -O - 'http://httpbin.org/ip' | cat -"
#fi
#if test `which tor > /dev/null` -a `which polipo > /dev/null`; then
# export http_proxy=http://localhost:8123
# export HTTP_PROXY=$http_proxy
# export https_proxy=$http_proxy
# export HTTPS_PROXY=$http_proxy
#fi
alias sl="ls"
alias la="ls -a"
alias ll="ls -l"
alias lf="ls --full-time"
alias lal="la -l"
alias lla="ll -a"
alias lfa="lf -a"
alias laf="la --full-time"
alias df="df -h"