-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_bashrc
38 lines (36 loc) · 1.05 KB
/
dot_bashrc
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
#if [ -f ~/.ssh-agent ]; then
# . ~/.ssh-agent
#fi
#if [ -z "$SSH_AGENT_PID" ] || ! kill -0 $SSH_AGENT_PID; then
# ssh-agent > ~/.ssh-agent
# . ~/.ssh-agent
#fi
#ssh-add -l >& /dev/null || ssh-add
alias dotfilespull='git -C dotfiles/ pull'
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
service docker status > /dev/null 2>&1
if [ -n "$(which wslpath)" ]; then
if [ $? = 1 ]; then
sudo service docker start
fi
fi
# Go Path設定
#export GOPATH=$HOME
#export PATH=$PATH:$GOPATH/bin
# export PATH=$PATH:/usr/local/go/bin
# asdf Path設定
. "$HOME/.asdf/asdf.sh"
export PYENV_ROOT="${HOME}/.pyenv"
if [ -d "${PYENV_ROOT}" ]; then
export PATH=${PYENV_ROOT}/bin:$PATH
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
fi
export PYENV_ROOT="${HOME}/.pyenv"
if [ -d "${PYENV_ROOT}" ]; then
export PATH=${PYENV_ROOT}/bin:$PATH
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
fi