-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
48 lines (38 loc) · 1.29 KB
/
.bash_profile
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
# emojis=(🐶 🐺 🐱 🐭 🐹 🐰 🐸 🐯 🐨 🐻 🐷 🐮 🐵 🐼 🐧 🐍 🐢 🐙 🐠 🐳 🐬 🐥)
# emoji='`echo ${emojis[$RANDOM % 22]}`'
# PS1="\w\n$emoji $ "
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
export PATH="$PATH:$HOME/.yarn/bin:$HOME/dev/public/bin"
# alias gs="git status"
alias c='"/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/bin/code" .'
alias foxit="open -a \"Foxit Reader\""
alias gd="git diff"
alias gdc="git diff --cached"
alias gp="git push"
alias i="/Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea &"
alias kc="rename 's/ /-/g' *"
alias lc="rename -f 'y/A-Z/a-z/' *"
alias ul="git pull"
alias us="git push"
alias y="yarn"
alias yb="yarn build"
alias ys="yarn start"
# source ~/.oh-my-zsh/plugins/git/git.plugin.zsh
# alias lcd="for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done"
function lcd() {
for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done
}
alias yarn="yarn $@ --ignore-engines"
alias node="node $@ --experimental-modules"
function hyperl() {
hyper u hyper-one-light
hyper i hyper-one-light
}
function hyperd() {
hyper u hyper-one-light
}
# hyper-solarized-dark
# hyper-solarized-light
# hyper-material-theme
# hyper-one-light