From f5a59927f2060e7e2d8f828baf74122020d4dfe8 Mon Sep 17 00:00:00 2001 From: Karamelmar Date: Mon, 29 Nov 2021 11:50:53 +0100 Subject: [PATCH] Repo Substructure --- .gitmodules | 12 ++++++++---- .zshrc | 3 ++- plugins/zsh-autosuggestions | 1 + plugins/zsh-syntax-highlighting | 1 + themes/powerlevel10k | 1 + 5 files changed, 13 insertions(+), 5 deletions(-) create mode 160000 plugins/zsh-autosuggestions create mode 160000 plugins/zsh-syntax-highlighting create mode 160000 themes/powerlevel10k diff --git a/.gitmodules b/.gitmodules index 29e86f7..943f5be 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,11 +2,15 @@ path = .oh-my-zsh url = https://git.gc4.at/linux/ohmyzsh -[submodule ".oh-my-zsh/custom/plugins/zsh-autosuggestions"] - path = .oh-my-zsh/custom/plugins/zsh-autosuggestions +[submodule "plugins/zsh-autosuggestions"] + path = plugins/zsh-autosuggestions url = https://git.gc4.at/linux/zsh-autosuggestions -[submodule ".oh-my-zsh/custom/plugins/zsh-syntax-highlighting"] - path = .oh-my-zsh/custom/plugins/zsh-syntax-highlighting +[submodule "plugins/zsh-syntax-highlighting"] + path = plugins/zsh-syntax-highlighting url = https://git.gc4.at/linux/zsh-syntax-highlighting +[submodule "themes/powerlevel10k"] + path = themes/powerlevel10k + url = https://git.gc4.at/linux/powerlevel10k.git + diff --git a/.zshrc b/.zshrc index 4c7c797..9b90ba1 100644 --- a/.zshrc +++ b/.zshrc @@ -15,7 +15,8 @@ export ZSH="$HOME/.config_repos/zsh-settings/.oh-my-zsh" # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="powerlevel10k/powerlevel10k" +#ZSH_THEME="powerlevel10k/powerlevel10k" +source ~/config_repos/zsh-settings/themes/powerlevel10k/powerlevel10k.zsh-theme # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load diff --git a/plugins/zsh-autosuggestions b/plugins/zsh-autosuggestions new file mode 160000 index 0000000..a411ef3 --- /dev/null +++ b/plugins/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8 diff --git a/plugins/zsh-syntax-highlighting b/plugins/zsh-syntax-highlighting new file mode 160000 index 0000000..c7caf57 --- /dev/null +++ b/plugins/zsh-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit c7caf57ca805abd54f11f756fda6395dd4187f8a diff --git a/themes/powerlevel10k b/themes/powerlevel10k new file mode 160000 index 0000000..a9f208c --- /dev/null +++ b/themes/powerlevel10k @@ -0,0 +1 @@ +Subproject commit a9f208c8fc509b9c591169dd9758c48ad4325f76