From 221da4be474f70fe6e8f6124885ca25d05441466 Mon Sep 17 00:00:00 2001 From: Karamelmar Date: Fri, 3 Dec 2021 12:11:11 +0100 Subject: [PATCH] switch to .dotfiles folder structure --- .zshrc | 6 +++--- README.md | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.zshrc b/.zshrc index 7525651..ea1a244 100644 --- a/.zshrc +++ b/.zshrc @@ -9,7 +9,7 @@ fi # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. -export ZSH="$HOME/.config_repos/zsh-settings/.oh-my-zsh" +export ZSH="$HOME/.dotfiles/zsh-settings/.oh-my-zsh" # Set name of the theme to load --- if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, @@ -17,7 +17,7 @@ export ZSH="$HOME/.config_repos/zsh-settings/.oh-my-zsh" # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes #ZSH_THEME="powerlevel10k/powerlevel10k" #Powerlevel10k Theme -source ~/.config_repos/zsh-settings/themes/powerlevel10k/powerlevel10k.zsh-theme +source ~/.dotfiles/zsh-settings/themes/powerlevel10k/powerlevel10k.zsh-theme #Starship Theme #eval "$(starship init zsh)" @@ -66,7 +66,7 @@ source ~/.config_repos/zsh-settings/themes/powerlevel10k/powerlevel10k.zsh-theme # Would you like to use another custom folder than $ZSH/custom? # ZSH_CUSTOM=/path/to/new-custom-folder -ZSH_CUSTOM=~/.config_repos/zsh-settings +ZSH_CUSTOM=~/.dotfiles/zsh-settings # Which plugins would you like to load? # Standard plugins can be found in $ZSH/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/ diff --git a/README.md b/README.md index df5ba25..7712369 100644 --- a/README.md +++ b/README.md @@ -19,19 +19,19 @@ - `gem install colorls` - Install - - mkdir ~/.config_repos - - cd ~/.config_repos + - mkdir ~/.dotfiles + - cd ~/.dotfiles - `git clone --recurse-submodules -j8 https://git.gc4.at/linux/zsh-settings.git` - Use ssh if you want to commit also: `git clone --recurse-submodules -j8 ssh://git@git.gc4.at:4258/linux/zsh-settings.git` - --recurse-submodules -j8 is important since .oh-my-zsh and .oh-my-zsh/custom/plugins are also remote repos (int his repo) = submodules - `cd ~` - `mv .zshrc .zshrc_old && mv .p10k.zsh .p10k.zsh_old && mv .oh-my-zsh .oh-my-zsh_old` - - `ln -s .config_repos/zsh-settings/.zshrc` - - `ln -s .config_repos/zsh-settings/.p10k.zsh` - - `ln -s .config_repos/zsh-settings/.oh-my-zsh` + - `ln -s .dotfiles/zsh-settings/.zshrc` + - `ln -s .dotfiles/zsh-settings/.p10k.zsh` + - `ln -s .dotfiles/zsh-settings/.oh-my-zsh` - Update (Submodules included) - - `cd ~/.config_repos/zsh-settings` + - `cd ~/.dotfiles/zsh-settings` - `git submodule update --recursive --remote` - `cd /opt/nerd-fonts && git pull && .install.sh` - `gem update colorls`