diff --git a/zsh-macos/.config/zsh-macos/00-macos-aliases.zsh b/zsh-macos/.config/zsh-macos/00-macos-aliases.zsh index 6bb44ec..d8e1a62 100644 --- a/zsh-macos/.config/zsh-macos/00-macos-aliases.zsh +++ b/zsh-macos/.config/zsh-macos/00-macos-aliases.zsh @@ -31,14 +31,15 @@ alias pacsearch='pacman -Ss' # system alias myip='curl ifconfig.me' +alias pipupgrade='pip --disable-pip-version-check list --outdated --format=json | python -c "import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))" | xargs -n1 pip install -U' # zsh alias zdotdir='cd -- ${ZDOTDIR}' alias zshaliases='${EDITOR} -- "${XDG_CONFIG_HOME}"/zsh-macos/00-macos-aliases.zsh' alias zbindings='${EDITOR} -- ${ZDOTDIR}/keybindings.zsh' alias zhist='${EDITOR} -- ${HISTFILE}' -alias zpath='${EDITOR} -- ${ZDOTDIR}/path.zsh' -alias zprompt='${EDITOR} -- ${ZDOTDIR}/prompt.zsh' +alias zpath='${EDITOR} -- ${XDG_CONFIG_HOME}/zsh-macos/path.zsh' +alias zprompt='${EDITOR} -- ${XDG_CONFIG_HOME}/zsh-macos/prompt.zsh' alias zshrc='${EDITOR} -- ${ZDOTDIR}/.zshrc' alias zshrefresh='source -- ${ZDOTDIR}/.zshrc' alias zshenv='${EDITOR} -- "${XDG_CONFIG_HOME}"/zsh-macos/zshenv' diff --git a/zsh-macos/.config/zsh-macos/fzf.zsh b/zsh-macos/.config/zsh-macos/fzf.zsh index 08abc48..dd5d556 100644 --- a/zsh-macos/.config/zsh-macos/fzf.zsh +++ b/zsh-macos/.config/zsh-macos/fzf.zsh @@ -3,8 +3,8 @@ # Auto-completion # --------------- -[[ $- == *i* ]] && source "/usr/local/Cellar/fzf/0.38.0/shell/completion.zsh" +[[ $- == *i* ]] && source "/usr/local/Cellar/fzf/0.42.0/shell/completion.zsh" # Key bindings # ------------ -source "/usr/local/Cellar/fzf/0.38.0/shell/key-bindings.zsh" +source "/usr/local/Cellar/fzf/0.42.0/shell/key-bindings.zsh" diff --git a/zsh-macos/.config/zsh-macos/path.zsh b/zsh-macos/.config/zsh-macos/path.zsh index 731a783..391b350 100644 --- a/zsh-macos/.config/zsh-macos/path.zsh +++ b/zsh-macos/.config/zsh-macos/path.zsh @@ -1,4 +1,4 @@ # PATH variable configuration -path=("${HOME}/Scripts/macOS Helpers" "${HOME}/.local/bin" $path) +path=("/usr/local/sbin" "${HOME}/Scripts/macOS Helpers" "${HOME}/.local/bin" $path) export PATH