forked from ozsun88/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.osx
More file actions
83 lines (69 loc) · 1.95 KB
/
.osx
File metadata and controls
83 lines (69 loc) · 1.95 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/bin/bash
# Configs for development machine
echo 'OSX profile loaded.'
# A color scheme that loosely matches Ubuntu's default scheme.
# The color designators are as follows:
# a black
# b red
# c green
# d brown
# e blue
# f magenta
# g cyan
# h light grey
# A bold black, usually shows up as dark grey
# B bold red
# C bold green
# D bold brown, usually shows up as yellow
# E bold blue
# F bold magenta
# G bold cyan
# H bold light grey; looks like bright white
# x default foreground or background
# Note that the above are standard ANSI colors. The actual
# display may differ depending on the color capabilities of
# the terminal in use.
# The order of the attributes are as follows:
# 1. directory
# 2. symbolic link
# 3. socket
# 4. pipe
# 5. executable
# 6. block special
# 7. character special
# 8. executable with setuid bit set
# 9. executable with setgid bit set
# 10. directory writable to others, with sticky bit
# 11. directory writable to others, without sticky bit
export CLICOLOR=1
export LSCOLORS=ExGxdxDxCxegedhbadaced
# set default editor
export EDITOR='code'
export VISUAL="$EDITOR"
# common places
alias v="cd ~/Vue"
alias vv="cd ~/Vue/vue"
alias vn="cd ~/Vue/vue-next"
alias vc="cd ~/Vue/vue-cli"
alias vt="cd ~/Vue/vue-cli/packages/test"
alias vo="cd ~/Vue/vuejs.org"
alias vr="cd ~/Vue/vue-router"
alias vx="cd ~/Vue/vuex"
alias vd="cd ~/Vue/vue-devtools"
alias vl="cd ~/Vue/vue-loader"
alias vw="cd ~/Vue/vue-templates/test/"
alias vp="cd ~/Vue/vuepress"
alias p="cd ~/Personal"
alias r="cd ~/Research"
alias rr="cd ~/Research/repros"
alias wx="cd ~/Weex"
# recursively delete .DS_Store
alias dsstore="find . -name '*.DS_Store' -type f -ls -delete"
# recursively delete node_modules
alias nodemodules="find . -name "node_modules" -exec rm -rf '{}' +"
# hint for these shortcuts
alias hint="echo; cat $BASH_SRC_PATH/.hints; echo; echo"
# shortcut for uploading quick static files to VPS
function sketch() {
scp -r $1 evan@do:/srv/static/sketch/$2
}