forked from reorx/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc_mac
30 lines (25 loc) · 1.03 KB
/
zshrc_mac
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
########################
# Specially in Mac OSX #
########################
# brew
export HOMEBREW_NO_AUTO_UPDATE=1
#export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles
export MANPATH=/Users/reorx/AppData/LinuxMan:$MANPATH
hash -d desktop="/Users/reorx/Desktop"
hash -d music="/Users/reorx/Music"
hash -d pictures="/Users/reorx/Pictures"
hash -d downloads="/Users/reorx/Downloads"
hash -d documents="/Users/reorx/Documents"
hash -d dropbox="/Users/reorx/Dropbox"
hash -d code="/Users/reorx/Code"
hash -d services="/Users/reorx/Services"
hash -d projects="/Users/reorx/Projects"
hash -d backup="/Users/reorx/Dropbox/Backup"
# Code sub dirs
hash -d lab="/Users/reorx/Code/lab"
hash -d repos="/Users/reorx/Code/repos"
alias finder_show='defaults write com.apple.finder AppleShowAllFiles YES'
alias finder_hide='defaults write com.apple.finder AppleShowAllFiles NO'
alias cppcompile='c++ -std=c++11 -stdlib=libc++'
# iterm2 integration
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"