set -g extended-keys on
set -g extended-keys-format csi-u
-# bind new keys for splits
-bind | split-window -hc "#{pane_current_path}"
-bind - split-window -vc "#{pane_current_path}"
-
# reload conf
bind r source-file ~/.tmux.conf \; display "Reloaded .tmux.conf"
# Linux-specific Zsh settings
-if command -v ls >/dev/null 2>&1; then
- alias ls='ls --color=auto'
-fi
+alias ls='ls --color=auto'
-# Shared settings initialize completion before Linux-specific plugins load.
+# shared settings initialize completion before plugins load.
source "$HOME/.zsh/common.zsh"
if command -v fzf-tab >/dev/null 2>&1; then
fi
if [[ -n ${HOMEBREW_PREFIX:-} ]]; then
- # Add Homebrew's tools and completion definitions without running Homebrew.
+ # Add brew's tools and completion definitions without running Homebrew.
export PATH="$HOMEBREW_PREFIX/bin:$HOMEBREW_PREFIX/sbin:$PATH"
export MANPATH="$HOMEBREW_PREFIX/share/man${MANPATH:+:$MANPATH}"
export INFOPATH="$HOMEBREW_PREFIX/share/info${INFOPATH:+:$INFOPATH}"
FPATH="$HOMEBREW_PREFIX/share/zsh/site-functions:${FPATH}"
fi
-# fnm is installed through Homebrew on this macOS setup.
+# fnm via brew
if [[ -d "${HOMEBREW_PREFIX:-}/opt/fnm/bin" ]]; then
eval "$(fnm env --shell zsh)"
fi
-# Load shared settings after Homebrew has added its completion definitions.
+# Load shared settings brew's got its completion definitions.
source "$HOME/.zsh/common.zsh"
-# Load plugins after compinit; syntax highlighting must be the final plugin loaded.
+# load plugins after compinit; syntax highlighting is the final plugin loaded.
if [[ -n ${HOMEBREW_PREFIX:-} ]]; then
[[ -r "$HOMEBREW_PREFIX/opt/fzf-tab/share/fzf-tab/fzf-tab.zsh" ]] && \
source "$HOMEBREW_PREFIX/opt/fzf-tab/share/fzf-tab/fzf-tab.zsh"
[[ -r "$HOMEBREW_PREFIX/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]] && \
source "$HOMEBREW_PREFIX/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
fi
-
-[[ -r "$HOME/.docker/init-zsh.sh" ]] && source "$HOME/.docker/init-zsh.sh"