refactor(zsh): move text around

This commit is contained in:
George Rawlinson 2019-04-27 13:56:23 +12:00
parent 8ce302e10f
commit 039fe49e6b
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
1 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
# add ~/bin & /usr/local/bin to $PATH
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# OS detection
if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Support for XDG Base Directories
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_CONFIG_HOME="${HOME}/.config"
@ -14,11 +14,11 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
export XDG_RUNTIME_DIR="/tmp"
elif [[ "$OSTYPE" == "linux-gnu" ]]; then
# Linux/GNU
# reduce linux syscalls
export TZ=:/etc/localtime
# Path to your oh-my-zsh installation.
export ZSH=/usr/share/oh-my-zsh
# reduce linux syscalls
export TZ=:/etc/localtime
else
printf "Unknown OS detected: %s\n" "$OSTYPE"
fi