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
| export CLICOLOR=1
export LSCOLORS=gxfxcxdxbxegedabagacad
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
export TERM=xterm-256color
alias grep='grep --color' alias la='ls -al' alias ll='ls -l' alias cls=clear
alias proxyon='export http_proxy=http://127.0.0.1:1087; export https_proxy=http://127.0.0.1:1087;echo proxy is on!' alias proxyoff='unset http_proxy; unset https_proxy;echo proxy is off!'
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
export workspace="$HOME/Documents/workspace"
alias doc="cd $HOME/Documents" alias dod="cd $HOME/Downloads" alias dop="cd $HOME/Desktop" alias app="cd $HOME/Applications" alias pic="cd $HOME/Pictures" alias mov="cd $HOME/Movies" alias mus="cd $HOME/Music"
alias ws="cd $workspace" alias wsg="cd $workspace/github"
alias ns="npm run start" alias nb="npm run build"
alias hexogs="hexo g && hexo s"
|