LoginSignup
0
0

More than 5 years have passed since last update.

Restart current shell

Last updated at Posted at 2018-07-01

Restart current shell

$ exec "$SHELL"

~/.bash_profile上fish起動している場合

例)

if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

# Android setting
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools

# local node_modules path
export PATH=$PATH:./node_modules/.bin

# local $LANG
export LANG=ja_JP.UTF-8

# aws-sam-cli pip installer setting
## Find your Python User Base path (where Python --user will install packages/scripts)
USER_BASE_PATH=$(python -m site --user-base)
## Update your preferred shell configuration
export PATH=$PATH:$USER_BASE_PATH/bin

# fish起動 ※最後に実行
fish

Restart current shell

$ source ~/.bash_profile
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0