Compare commits

...

3 Commits

3 changed files with 14 additions and 5 deletions

View File

@@ -83,8 +83,8 @@ export OP_CACHE="$XDG_STATE_HOME/1password"
# pyenv, python environments # pyenv, python environments
export WORKON_HOME="$XDG_DATA_HOME/virtualenvs" export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"
export PYENV_ROOT="$XDG_STATE_HOME/pyenv" export PYENV_ROOT="$XDG_STATE_HOME/pyenv"
export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH"
x-have pyenv && { x-have pyenv && {
export PATH="$PYENV_ROOT/shims:$PATH"
eval "$(pyenv init -)" eval "$(pyenv init -)"
} }

View File

@@ -2,11 +2,10 @@
"extras": [ "extras": [
"lazyvim.plugins.extras.coding.copilot", "lazyvim.plugins.extras.coding.copilot",
"lazyvim.plugins.extras.coding.yanky", "lazyvim.plugins.extras.coding.yanky",
"lazyvim.plugins.extras.editor.aerial",
"lazyvim.plugins.extras.editor.leap", "lazyvim.plugins.extras.editor.leap",
"lazyvim.plugins.extras.editor.outline",
"lazyvim.plugins.extras.formatting.black", "lazyvim.plugins.extras.formatting.black",
"lazyvim.plugins.extras.formatting.prettier", "lazyvim.plugins.extras.formatting.prettier",
"lazyvim.plugins.extras.lang.ansible",
"lazyvim.plugins.extras.lang.docker", "lazyvim.plugins.extras.lang.docker",
"lazyvim.plugins.extras.lang.go", "lazyvim.plugins.extras.lang.go",
"lazyvim.plugins.extras.lang.json", "lazyvim.plugins.extras.lang.json",
@@ -20,10 +19,12 @@
"lazyvim.plugins.extras.ui.edgy", "lazyvim.plugins.extras.ui.edgy",
"lazyvim.plugins.extras.ui.mini-animate", "lazyvim.plugins.extras.ui.mini-animate",
"lazyvim.plugins.extras.util.dot", "lazyvim.plugins.extras.util.dot",
"lazyvim.plugins.extras.vscode" "lazyvim.plugins.extras.vscode",
"lazyvim.plugins.extras.editor.aerial",
"lazyvim.plugins.extras.editor.outline"
], ],
"news": { "news": {
"NEWS.md": "2123" "NEWS.md": "3314"
}, },
"version": 3 "version": 3
} }

View File

@@ -213,6 +213,8 @@ function section_brew
"update:Updates and upgrades brew packages" "update:Updates and upgrades brew packages"
"updatebundle:Updates Brewfile with descriptions" "updatebundle:Updates Brewfile with descriptions"
"autoupdate:Setups brew auto-update and runs it immediately" "autoupdate:Setups brew auto-update and runs it immediately"
"leaves:List brew leaves (installed on request)"
"clean:Clean up brew packages"
) )
x-have brew && { x-have brew && {
@@ -231,6 +233,12 @@ function section_brew
--file="$BREWFILE" \ --file="$BREWFILE" \
--describe && msg_yay "Done!" --describe && msg_yay "Done!"
;; ;;
leaves)
brew leaves --installed-on-request
;;
clean)
brew bundle cleanup --file="$BREWFILE" && msg_yay "Done!"
;;
autoupdate) autoupdate)
brew autoupdate delete brew autoupdate delete
brew autoupdate start 43200 --upgrade --cleanup --immediate brew autoupdate start 43200 --upgrade --cleanup --immediate