Remove local scripts from path, add local completions
This commit is contained in:
parent
27f9218c0a
commit
7b985140cf
1 changed files with 5 additions and 3 deletions
8
.zshrc
8
.zshrc
|
@ -1,6 +1,11 @@
|
|||
### Source local 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
|
||||
export VISUAL=vim
|
||||
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 vvf="cd \$(${HOME}/.bin/vvf.sh)"
|
||||
|
||||
## local bin
|
||||
export PATH=${PATH}:${HOME}/.local/bin:${HOME}/.bin
|
||||
|
||||
## Drone CLI
|
||||
|
||||
export DRONE_SERVER=https://drone.troubles.io
|
||||
|
|
Loading…
Reference in a new issue