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