From 039fe49e6b08e9b1768b8cf72ca2703290121139 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Sat, 27 Apr 2019 13:56:23 +1200 Subject: [PATCH] refactor(zsh): move text around --- zsh/.zshrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 61c31e8..40ff8c0 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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