Skip to content

Commit

Permalink
fix(zsh): use autovenv plugin to active virtual environments
Browse files Browse the repository at this point in the history
  • Loading branch information
natelandau committed Sep 8, 2024
1 parent 7d60871 commit c3f278f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 36 deletions.
35 changes: 32 additions & 3 deletions dotfiles/.chezmoitemplates/usrbin_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# List of directories to search for compose files.
compose_dir_paths = ["~/homelab/docker_compose"]

{{- if (and (lookPath "nomad") (lookPath "nd")) }}

[nd]
# String to ignore when searching for job files.
file_ignore_strings = ["template"]
Expand All @@ -19,4 +17,35 @@
{{- else if .use_secrets }}
nomad_address = "http://{{ onepasswordRead "op://yc7nim47s6rch4ehrvfsz5icei/kqwlkq6yaoarvhwacd7vpll3ei/hostname" }}:4646"
{{- end }}
{{- end }}

[brewup]
# Target location for Applications, mimics --appdird.
# app_dir = ""

exclude_updades = [
"1password",
"arq",
"discord",
"docker",
"docker-compose",
"fmail2",
"fork",
"mongodb-compass",
"raycast",
"syncthing",
"visual-studio-code",
"zoom",
]

# List of packages to exclude from updates
# Update all casks, even if they auto-update
greedy_casks = false

# Full path to `brew` if not in $PATH
# homebrew_command = ""

# List of casks to open after updating
reopen_casks = ["iterm2", "raycast", "slack", "syncthing"]

# List of casks to unquarantine after updating
no_quarantine = ["librewolf"]
32 changes: 0 additions & 32 deletions dotfiles/Library/Application Support/brewup/config.toml

This file was deleted.

2 changes: 1 addition & 1 deletion dotfiles/dot_shell/sourced/001-plugins.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ plugins=(
zsh-users/zsh-completions

# # user plugins
linnnus/autovenv # Automatically (de)activate python virtualenvs
marlonrichert/zsh-hist # Run hist -h for help
reegnz/jq-zsh-plugin # Write interactive jq queries (Requires jq and fzf)
MichaelAquilina/zsh-you-should-use # Recommends aliases when typed
darvid/zsh-poetry # activates poetry venvs
Aloxaf/fzf-tab # fzf tab completion

# Additional completions
Expand Down

0 comments on commit c3f278f

Please sign in to comment.