refactor(zsh): move text around
This commit is contained in:
parent
8ce302e10f
commit
039fe49e6b
1 changed files with 6 additions and 6 deletions
12
zsh/.zshrc
12
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
|
||||
|
|
Loading…
Reference in a new issue