Remove local scripts from path, add local completions

This commit is contained in:
Blallo 2020-06-02 19:10:38 +02:00
parent 27f9218c0a
commit 7b985140cf
No known key found for this signature in database
GPG key ID: 0CBE577C9B72DC3F

8
.zshrc
View file

@ -1,6 +1,11 @@
### Source local secrets ### Source local secrets
[ -f ${HOME}/.config/zsh/secrets ] && . ${HOME}/.config/zsh/secrets [ -f ${HOME}/.config/zsh/secrets ] && . ${HOME}/.config/zsh/secrets
## local completions
if [ -d "${HOME}/.config/zsh/completions" ]; then
export fpath=(${HOME}/.config/zsh/completions "${fpath[@]}")
fi
### edit cmds ### edit cmds
export VISUAL=vim export VISUAL=vim
autoload edit-command-line autoload edit-command-line
@ -121,9 +126,6 @@ alias pikbrowse="pikaur -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --
alias vf="cd \$(git rev-parse --show-toplevel)" alias vf="cd \$(git rev-parse --show-toplevel)"
alias vvf="cd \$(${HOME}/.bin/vvf.sh)" alias vvf="cd \$(${HOME}/.bin/vvf.sh)"
## local bin
export PATH=${PATH}:${HOME}/.local/bin:${HOME}/.bin
## Drone CLI ## Drone CLI
export DRONE_SERVER=https://drone.troubles.io export DRONE_SERVER=https://drone.troubles.io