Cleaned up zsh setup

This commit is contained in:
2024-11-13 20:23:55 -05:00
parent 56234842cf
commit d1427cba64
11 changed files with 36 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
fpath+=( $HOME/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-zsh-users-SLASH-zsh-autosuggestions )
source $HOME/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-zsh-users-SLASH-zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
fpath+=( $HOME/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-zsh-users-SLASH-zsh-syntax-highlighting )
source $HOME/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-zsh-users-SLASH-zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
fpath+=( $HOME/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-zsh-users-SLASH-zsh-completions )
source $HOME/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-zsh-users-SLASH-zsh-completions/zsh-completions.plugin.zsh
fpath+=( $HOME/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-romkatv-SLASH-powerlevel10k )
source $HOME/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-romkatv-SLASH-powerlevel10k/powerlevel10k.zsh-theme
source $HOME/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-romkatv-SLASH-powerlevel10k/powerlevel9k.zsh-theme

View File

@@ -65,4 +65,4 @@ alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
eval "$(direnv hook zsh)"
# To customize prompt, run `p10k configure` or edit ~/.zsh/.p10k.zsh.
[[ ! -f ~/.zsh/.p10k.zsh ]] || source ~/.zsh/.p10k.zsh
[[ ! -f "$ZDOTDIR/.p10k.zsh" ]] || source $ZDOTDIR/.p10k.zsh

1
.config/zsh/antidote Submodule

Submodule .config/zsh/antidote added at 4858ab37c1

15
.gitignore vendored
View File

@@ -10,3 +10,18 @@
/.config/google-chrome
/.config/inkscape
/.config/configstore
/.config/borgmqtt
/.config/dconf
/.config/fish
/.config/gtk-2.0
/.config/pulse
/.config/ros.org
/.config/ruff
/.config/uv
/.config/wslu
/.config/Qt*
.bash*
# don't include self
/.config/dotfiles

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule ".config/zsh/antidote"]
path = .config/zsh/antidote
url = https://github.com/mattmc3/antidote.git

View File

@@ -1,5 +1,9 @@
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
# editor
export ZDOTDIR="$HOME/.zsh"
export EDITOR="nvim"
export VISUAL="nvim"
@@ -15,6 +19,8 @@ export VISUAL="nvim"
export VCPKG_ROOT=~/.vcpkg
export PATH=$VCPKG_ROOT:$PATH
# cmake
export CMAKE_COLOR_DIAGNOSTICS=ON
export CMAKE_GENERATOR="Ninja"