mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
Add pipx completions to zsh if installed
This commit is contained in:
parent
7681cba60a
commit
136248d651
|
@ -117,6 +117,13 @@ source $ZSH/oh-my-zsh.sh
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
alias dotdrop='eval $(grep -v "^#" ~/.files/.env.public) ~/.files/dotdrop.sh'
|
alias dotdrop='eval $(grep -v "^#" ~/.files/.env.public) ~/.files/dotdrop.sh'
|
||||||
|
|
||||||
|
# Enable pipx completions
|
||||||
|
if [ -f "$HOME/.local/bin/pipx" ]; then
|
||||||
|
autoload -U bashcompinit
|
||||||
|
bashcompinit
|
||||||
|
eval "$(register-python-argcomplete pipx)"
|
||||||
|
fi
|
||||||
|
|
||||||
# Funktions (or more complex aliasses)
|
# Funktions (or more complex aliasses)
|
||||||
wttr() {
|
wttr() {
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
|
|
Loading…
Reference in a new issue