From f58f00ac52eeff03e4e8204cd901d63003f77929 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Sun, 24 Sep 2023 20:41:48 -0700 Subject: [PATCH 1/3] Update macOS zsh aliases --- zsh-macos/.config/zsh-macos/00-macos-aliases.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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' From 17c87d52d641e588eb899d13b98c402786da226d Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Sun, 24 Sep 2023 20:42:05 -0700 Subject: [PATCH 2/3] Update fzf reference to latest version --- zsh-macos/.config/zsh-macos/fzf.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" From 10d827c0cb5bbc6705ab0e171dc36f8b03c11121 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Sun, 24 Sep 2023 20:42:21 -0700 Subject: [PATCH 3/3] Add local sbin to path --- zsh-macos/.config/zsh-macos/path.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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