summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsadbeast <sadbeast@sadbeast.com>2022-09-16 13:17:45 -0700
committersadbeast <sadbeast@sadbeast.com>2022-09-16 13:17:45 -0700
commitfc004cdf8bb0a2af4cf265f7b44ee87d0086c9d0 (patch)
treee999cf59360feb3b3359916d07c719c1eb421554
parent64041ae74323749c356819be5e5a7c3eb9189221 (diff)
downloadcfg-fc004cdf8bb0a2af4cf265f7b44ee87d0086c9d0.tar.gz
cfg-fc004cdf8bb0a2af4cf265f7b44ee87d0086c9d0.tar.bz2
switch to antidote
-rw-r--r--.zshrc40
1 files changed, 22 insertions, 18 deletions
diff --git a/.zshrc b/.zshrc
index 96c2bec..95995e2 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,4 +1,3 @@
-# antibody bundle < ~/.zsh_plugins.txt > ~/.zsh_plugins.sh
export PATH="$PATH:$HOME/bin:$HOME/projects/zig"
autoload -Uz compinit
@@ -11,6 +10,14 @@ fi
zmodload -i zsh/complist
+if ! [[ -e ${ZDOTDIR:-~}/.antidote ]]; then
+ git clone https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote
+fi
+
+# source antidote and load plugins from `${ZDOTDIR:-~}/.zsh_plugins.txt`
+source ${ZDOTDIR:-~}/.antidote/antidote.zsh
+antidote load
+
HISTFILE=$HOME/.zsh_history
HISTSIZE=100000
SAVEHIST=$HISTSIZE
@@ -34,21 +41,8 @@ export NVM_LAZY_LOAD=true
export FZF_DEFAULT_COMMAND='rg --files'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_CTRL_T_OPTS="--preview 'bat --color=always --style=numbers --line-range=:500 {}'"
-[ -f /usr/share/fzf/key-bindings.zsh ] && source /usr/share/fzf/key-bindings.zsh
-[ -f /usr/share/fzf/completion.zsh ] && source /usr/share/fzf/completion.zsh
-
-export GPG_TTY=$(tty)
-
-export TERM=xterm-256color
-
-alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
-
-[ -f $HOME/.zshrc.local ] && source $HOME/.zshrc.local
-eval "$(starship init zsh)"
-
-source ~/.zsh_plugins.sh
-# Base16 Tomorrow Night
-# Author: Chris Kempson (http://chriskempson.com)
+[ -f /usr/local/share/fzf/bash/key-bindings.zsh ] && source /usr/local/share/fzf/bash/key-bindings.zsh
+[ -f /usr/local/share/fzf/bash/completion.zsh ] && source /usr/local/share/fzf/bash/completion.zsh
_gen_fzf_default_opts() {
@@ -80,6 +74,16 @@ _gen_fzf_default_opts
source $HOME/.config/broot/launcher/bash/br
-source /home/kentsmith/.config/broot/launcher/bash/br
+export GPG_TTY=$(tty)
+
+export TERM=xterm-256color
+
+alias ls='colorls -GF'
+alias l='ls -l'
+alias la='ls -a'
+alias lla='ls -la'
-source /opt/asdf-vm/asdf.sh
+alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
+
+[ -f $HOME/.zshrc.local ] && source $HOME/.zshrc.local
+#eval "$(starship init zsh)"