Skip to content

Instantly share code, notes, and snippets.

@kmansei
Created December 10, 2017 14:07
Show Gist options
  • Select an option

  • Save kmansei/6c7490faee0127ca50f20f69f6805764 to your computer and use it in GitHub Desktop.

Select an option

Save kmansei/6c7490faee0127ca50f20f69f6805764 to your computer and use it in GitHub Desktop.
bash_profileです。

bash_profile

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

#export PATH="/usr/local/bin:$PATH"
export PATH=/usr/local/bin:$PATH
export PATH="$HOME/.rbenv/shims:$PATH"
#export RBENV_ROOT="$HOME/local/rbenv"
#export PATH="$RBENV_ROOT/bin:$HOME/local/bin:$PATH"
export PATH=$HOME/.nodebrew/current/bin:$PATH
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
export LSCOLORS=gxfxcxdxbxegedabagacad
export TERM=xterm


##
# Your previous /Users/kanoumannseii/.bash_profile file was backed up as /Users/kanoumannseii/.bash_profile.macports-saved_2017-02-08_at_12:30:28
##

# MacPorts Installer addition on 2017-02-08_at_12:30:28: adding an appropriate PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.

# git settings
source /usr/local/etc/bash_completion.d/git-prompt.sh
source /usr/local/etc/bash_completion.d/git-completion.bash
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\[\e]0;\w\a\]\[\e[1;32m\]\u@\h\[\e[00m\]:\[\e[1;36m\]\W\[\e[1;32m\]$(__git_ps1)\[\e[1;36m\]$\[\e[00m\] '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment