add pipx
This commit is contained in:
22
.zshrc
22
.zshrc
@@ -37,7 +37,6 @@ fif() {
|
||||
# ---------------------------------------
|
||||
|
||||
# keg-only
|
||||
|
||||
export PATH="/opt/homebrew/opt/ssh-copy-id/bin:$PATH"
|
||||
export PATH="/opt/homebrew/opt/unzip/bin:$PATH"
|
||||
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
|
||||
@@ -46,6 +45,9 @@ PATH="/opt/homebrew/opt/findutils/libexec/gnubin:$PATH
|
||||
PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH
|
||||
PATH="/opt/homebrew/opt/grep/libexec/gnubin:$PATH"
|
||||
|
||||
# poetry
|
||||
export PATH="/Users/bruno/Library/Python/3.9/bin:$PATH"
|
||||
|
||||
coreutils=false
|
||||
if [ -d '/opt/homebrew/opt/coreutils/libexec/gnubin' ]; then
|
||||
#PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
|
||||
@@ -148,6 +150,15 @@ fh() {
|
||||
# 6. Options
|
||||
# ---------------------------------------
|
||||
|
||||
# For poetry: https://github.com/python-poetry/poetry#enable-tab-completion-for-bash-fish-or-zsh
|
||||
#fpath+=~/.zfunc
|
||||
# additional completions
|
||||
#autoload -U +X compinit && compinit
|
||||
|
||||
#pipx
|
||||
autoload -U bashcompinit && bashcompinit
|
||||
eval "$(register-python-argcomplete pipx)"
|
||||
|
||||
setopt auto_cd # cd by typing directory name if it's not a command (pas besoin de taper cd, juste le nom du dossier)
|
||||
setopt correct_all # autocorrect commands
|
||||
setopt auto_list # automatically list choices on ambiguous completion
|
||||
@@ -533,8 +544,8 @@ alias backpi='sudo rsync -av --exclude ".*/" pi@192.168.1.100:/home/pi/ ~/RPi-ba
|
||||
|
||||
alias up_kymsu='cd /Users/bruno/Documents/Scripts/kymsu2/ ; ./install.sh'
|
||||
|
||||
alias bashTools='/$HOME/Documents/Scripts/bash/bash_tools.sh'
|
||||
alias zshTools='/$HOME/Documents/Scripts/bash/zsh_tools.sh'
|
||||
alias bashTools='$HOME/Documents/Scripts/bash/bash_tools.sh'
|
||||
alias zshTools='$HOME/Documents/Scripts/bash/zsh_tools.sh'
|
||||
|
||||
# Convert contents of clipboard to plain text.
|
||||
alias txt='pbpaste | textutil -convert txt -stdin -stdout -encoding 30 | pbcopy'
|
||||
@@ -567,7 +578,7 @@ alias mt='multitail -F /usr/local/etc/multitail.conf'
|
||||
alias dbpush='dotbare push -u mbv master'
|
||||
alias dbadd='dotbare add -f $1'
|
||||
alias dbcomm='dotbare commit -am $1'
|
||||
alias dback='dotbare fbackup'
|
||||
alias dbback='dotbare fbackup'
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
@@ -704,3 +715,6 @@ export GPG_ID=bruno@clicclac.info
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
# Created by `pipx` on 2021-08-17 08:22:20
|
||||
export PATH="$PATH:/Users/bruno/.local/bin"
|
||||
|
||||
Reference in New Issue
Block a user