From d23414371454cb0566743dc15f2a63aaae162527 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Fri, 17 Feb 2023 14:04:25 -0600 Subject: make .local/bin beginning of PATH --- zsh/.config/zsh/.zshenv | 2 -- zsh/.config/zsh/.zshrc | 4 +++- 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 -- cgit v1.2.3