-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.bash_profile
56 lines (47 loc) · 1.73 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
49
50
51
52
53
54
55
56
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
export SLIMERJSLAUNCHER=/Applications/Firefox.app/Contents/MacOS/firefox
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
export PATH=$PATH:/Users/bodell/Library/Android/sdk/platform-tools/
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export PATH="/usr/local/opt/[email protected]/sbin:$PATH"
export PATH="/usr/local/opt/qt/bin:$PATH"
export PATH="/Users/bodell/Library/Python/3.7/bin:$PATH"
export CONTENTFUL_TOKEN="CFPAT-LNogdt6qm0KpE0q79Dh6LxXZqiWM7mQO8Hx3-dRAjbw"
export WORKON_HOME=~/VirtualEnvs
export EDITOR=nvim
# source /usr/local/bin/virtualenvwrapper.sh
alias apichrome="open -n -a Google\ Chrome --args --disable-web-security --user-data-dir=/tmp/chrome"
alias lscmd='cat package.json | jq ".scripts"'
alias lsprofile='cat ~/.bash_profile'
alias lsdep='cat package.json | jq ".dependencies, .devDependencies"'
alias lsgrep='ls -lh | grep $1'
alias lstables='ack "const tableName" | grep migrations | cut -d" " -f4'
alias tc='clear; tmux clear-history; clear'
alias bump='git commit -m "redeploy" --allow-empty && git push'
if type brew 2&>/dev/null; then
source "$(brew --prefix)/etc/bash_completion"
else
echo "run: brew install git bash-completion"
fi
function dirdiff()
{
# Shell-escape each path:
DIR1=$(printf '%q' "$1"); shift
DIR2=$(printf '%q' "$1"); shift
vim $@ -c "DirDiff $DIR1 $DIR2"
}
function lssym()
{
# use first arg, otherwise default to .
DIR=${1:-.}
find $DIR -maxdepth 1 -type l -ls;
}
function showlinks()
{
lssym ./node_modules
}
export NUXT_TELEMETRY_DISABLED=1