if [[ $OSTYPE == darwin* ]];then
  export OSX=true
fi

# Set the path to include:
#  - /usr/local/bin  for Homebrew
#  - /usr/local/sbin
#  - /usr/bin        for system executables
#  - /bin
#  - /usr/sbin
#  - /sbin
#  - $HOME/.bin      for local tools
#  - .git/safe/../../bin  mkdir .git/safe in the root of repositories you trust
export PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.bin:.git/safe/../../bin"


# Set my default editor to Vim :)
vim=$(which vim)
export EDITOR=$vim

if which clang > /dev/null; then
  export CC=clang
fi

# i   - Vim's smart case
# j.5 - Center search results
# K   - Quit on CTRL-C
# M   - Longer prompt
# R   - output colors correctly
# X   - Don't send clear screen signal
# +Gg - Show percentage (could cause issues with long files)
export LESS="ij.5KMRX+Gg"

export GREP_OPTIONS="--color"

# Disable ^-S in the terminal
stty -ixon -ixoff

if [[ $OSTYPE == darwin* ]];then
  export OSX=true
fi

# Set the path to include:
#  - /usr/local/bin  for Homebrew
#  - /usr/local/sbin
#  - /usr/bin        for system executables
#  - /bin
#  - /usr/sbin
#  - /sbin
#  - $HOME/.bin      for local tools
#  - .git/safe/../../bin  mkdir .git/safe in the root of repositories you trust
export PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.bin:.git/safe/../../bin"


# Set my default editor to Vim :)
vim=$(which vim)
export EDITOR=$vim

if which clang > /dev/null; then
  export CC=clang
fi

# i - Vim's smart case
# j.5 - Center search results
# K - Quit on CTRL-C
# M - Longer prompt
# R - output colors correctly
# X - Don't send clear screen signal
export LESS="ij.5KMRX"

export GREP_OPTIONS="--color"

# Disable ^-S in the terminal
stty -ixon -ixoff

Revert "Make less show percentage"
Revert "Make less show percentage"

This also centered content when opening less. Which is too bad.

This reverts commit 9cd6db89c054ab0eb5a9dcb4f6f959ab2417c6a0.
