20 lines
403 B
Bash
Executable file
20 lines
403 B
Bash
Executable file
#!/usr/bin/env zsh
|
|
|
|
# Optional profiling
|
|
[[ -n $ZSH_DEBUGRC ]] && zmodload zsh/zprof
|
|
|
|
# Path cleanup
|
|
typeset -U PATH
|
|
|
|
# Core config
|
|
source ~/.config/zsh/completion.zsh
|
|
source ~/.config/zsh/plugins.zsh
|
|
source ~/.config/zsh/aliases.zsh
|
|
source ~/.config/zsh/external.zsh
|
|
|
|
# Editor for SSH
|
|
[[ -n ${SSH_CONNECTION} ]] && export EDITOR='vim'
|
|
|
|
# Show zprof results if debugging
|
|
[[ -n $ZSH_DEBUGRC ]] && zprof
|
|
|