我的命令行

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="/Users/liulu/.oh-my-zsh"
ZSH_DISABLE_COMPFIX=true
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="arrow"

# Set list of themes to load
# Setting this variable when ZSH_THEME=random
# cause zsh load theme from this variable instead of
# looking in ~/.oh-my-zsh/themes/
# An empty array have no effect
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git autojump)
[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh

source $ZSH/oh-my-zsh.sh

# User configuration
# source ~/.bash_profile
# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias vscode="open /Applications/Visual\ Studio\ Code.app"
alias col="open /Applications/System\ Preferences.app"
alias sr="open /Applications/QuickTime\ Player.app"
alias clt="open /Applications/Calculator.app"
alias appstore="open /Applications/App\ Store.app"
alias baiduyun="open /Applications/BaiduNetdisk_mac.app"
alias google="open /Applications/Google\ Chrome.app"
alias ding="open /Applications/DingTalk.app"
alias music="open /Applications/NeteaseMusic.app"
alias wechat="open /Applications/WeChat.app"
alias wechatdev="open /Applications/wechatwebdevtools.app"
alias keynote="open /Applications/Keynote.app"
alias xunlei="open /Applications/Thunder.app"
alias web="webstorm"
alias phps="open /Applications/PhpStorm.app"
alias qq="open /Applications/QQ.app"
alias am="open /Applications/Utilities/Activity\ Monitor.app"
alias vpn="open /Applications/ShadowsocksX-NG.app"
alias color="open /Applications/Utilities/Digital\ Color\ Meter.app"
alias postman="open /Users/liulu/Applications/Chrome\ Apps.localized/Default\ fhbjgbiflinjbdggehcddcbncdddomop.app"
alias finder="open ."
alias pc4='proxychains4'
export PATH=${PATH}:/usr/local/mysql/bin
export GOPATH=/Users/liulu/Documents/work/go_project
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
alias mysqlstart='sudo /usr/local/mysql/support-files/mysql.server start'
alias mysqlstop='sudo /usr/local/mysql/support-files/mysql.server stop'
alias proxy='export all_proxy=socks5://127.0.0.1:1086'
alias unproxy='unset all_proxy'
alias gitproxy="git config --global http.proxy 'socks5://127.0.0.1:1086';git config --global https.proxy 'socks5://127.0.0.1:1086'"
alias ungitproxy="git config --global --unset http.proxy;git config --global --unset https.proxy"

  

posted @ 2018-12-11 10:25  霜末之冬  阅读(388)  评论(0编辑  收藏  举报