onexming / dotfiles-1

setup scripts including .vimrc, config.fish, .tmux.conf and .gitconfig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample of ~/.bash_profile

export EDITOR="/usr/local/bin/vim"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# This is needed by tmux. To install it, see https://powerline.readthedocs.io/en/latest/installation/osx.html#python-package
export POWERLINE_REPOSITORY_ROOT=/usr/local/lib/python3.7/site-packages

# Change shell.
files=("/usr/local/bin/fish" "/usr/bin/fish" "$HOME/local/bin/zsh" "/usr/local/bin/zsh" "/usr/bin/zsh" "/bin/zsh")
for file in "${files[@]}"
do
  if [[ -x "$file" ]]; then
    export SHELL=$file
    exec $SHELL
  fi
done

About

setup scripts including .vimrc, config.fish, .tmux.conf and .gitconfig


Languages

Language:Shell 87.2%Language:Vim Script 12.8%