-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
37 lines (30 loc) · 960 Bytes
/
.zshrc
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
## load .bashrc in .bash_profile
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
## git tab autocompletion
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
## rbenv config
## export PATH="$HOME/.rbenv/bin:$PATH"
## eval "$(rbenv init -)"
## update bash line
## export PS1='\W \u\$ '
## Panic Palette colors!
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
## aliases
alias cc="cd ~/ && clear && clear && clear"
alias profile="cd ~/ && nano .zshrc"
alias hosts="cd /private/etc && sudo nano hosts"
alias launchpad-reset="defaults write com.apple.dock ResetLaunchPad -bool true && killall Dock"
# This alias opens your current directory in Finder.
alias f='open -a Finder ./'
# These make things like `cd ...` go up three directories.
alias -g ...=../..
alias -g ....=../../..
alias -g .....=../../../..
alias -g ......=../../../../..
alias -g .......=../../../../../..
alias -g ........=../../../../../../..