Skip to content

Commit

Permalink
fix(zsh): Remove ansible-lint hack
Browse files Browse the repository at this point in the history
  • Loading branch information
fhemberger committed Oct 15, 2024
1 parent 6aa940d commit 8cf7185
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions dot_zshrc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,6 @@ export PATH=~/.local/bin:/opt/sbin:/opt/bin:$PATH
export PATH=~/.local/bin:$PATH
{{ end }}

# Ansible developers being Ansible developers ¯\_(ツ)_/¯
ANSIBLE_LINT_VERSION="$(brew list --versions ansible-lint | awk '{ print $2 }')"
if [ ! -z "$ANSIBLE_LINT_VERSION" ]; then
PATH="$PATH:/opt/homebrew/Cellar/ansible-lint/${ANSIBLE_LINT_VERSION}/libexec/bin"
fi
if [ "${commands[ansible]}" ]; then
export ANSIBLE_COLLECTIONS_PATH="$(ansible --version | grep -Po 'ansible python module location = \K.*')_collections"
fi


# == Sourcing all the things ... ==
for file in ~/.config/zsh/*.zsh; do source "$file"; done; unset file
source ~/.config/zsh/zfunctions/syntax-highlighting
Expand Down

0 comments on commit 8cf7185

Please sign in to comment.