summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-02-17 14:04:25 -0600
committerMatt Strapp <matt@mattstrapp.net>2023-02-17 14:04:25 -0600
commitd23414371454cb0566743dc15f2a63aaae162527 (patch)
treed8b664c86b65a343015823ad08aef95defeef217
parentadd another XDG file (diff)
downloaddotfiles-d23414371454cb0566743dc15f2a63aaae162527.tar
dotfiles-d23414371454cb0566743dc15f2a63aaae162527.tar.gz
dotfiles-d23414371454cb0566743dc15f2a63aaae162527.tar.bz2
dotfiles-d23414371454cb0566743dc15f2a63aaae162527.tar.lz
dotfiles-d23414371454cb0566743dc15f2a63aaae162527.tar.xz
dotfiles-d23414371454cb0566743dc15f2a63aaae162527.tar.zst
dotfiles-d23414371454cb0566743dc15f2a63aaae162527.zip
make .local/bin beginning of PATH
-rw-r--r--zsh/.config/zsh/.zshenv2
-rw-r--r--zsh/.config/zsh/.zshrc4
2 files changed, 3 insertions, 3 deletions
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv
index 5a1dcba..edb4183 100644
--- a/zsh/.config/zsh/.zshenv
+++ b/zsh/.config/zsh/.zshenv
@@ -4,8 +4,6 @@
# If you don't plan on reverting to bash, you can remove the link in ~/.profile
# to clean up.
-## Adds `~/.local/bin` to $PATH
-#export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}"
export FPATH="$FPATH:${XDG_DATA_HOME:-$HOME/.local/share/zsh/site-functions}"
unsetopt PROMPT_SP
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index c233805..ab3a0dd 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -3,7 +3,7 @@
# confirmations, etc.) must go above this block; everything else may go below.
[[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] && source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
# add .local/bin to PATH
-export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}"
+export PATH="${$(find ~/.local/bin -type d -printf %p:)%%:}:$PATH"
eval "$(antidot init)"
eval "$(lesspipe.sh)"
@@ -75,6 +75,8 @@ _dotnet_zsh_complete()
compdef _dotnet_zsh_complete dotnet
+[[ -f ~/.config/tabtab/zsh/__tabtab.zsh ]] && . ~/.config/tabtab/zsh/__tabtab.zsh || true
+
case "$ID" in
debian | ubuntu )
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh