aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index b985a32..924de2a 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -41,6 +41,11 @@ zplug romkatv/powerlevel10k, use:powerlevel10k.zsh-theme
fpath+=~/.zfunc
+autoload -Uz compinit
+compinit
+
+source $ZSH/oh-my-zsh.sh
+
if [ "$TERM" = "linux" ]; then
_SEDCMD='s/.*\*color\([0-9]\{1,\}\).*#\([0-9a-fA-F]\{6\}\).*/\1 \2/p'
for i in $(sed -n "$_SEDCMD" $HOME/.Xresources | awk '$1 < 16 {printf "\\e]P%X%s", $1, $2}'); do
@@ -50,8 +55,6 @@ if [ "$TERM" = "linux" ]; then
fi
if type "kitty" > /dev/null; then
- autoload -Uz compinit
- compinit
# Completion for kitty
kitty + complete setup zsh | source /dev/stdin