Skip to content

Commit

Permalink
Allow brew installed applications in non-interactive sessions per Hom…
Browse files Browse the repository at this point in the history
  • Loading branch information
cdayjr committed Nov 16, 2021
1 parent 49c3338 commit b0c6659
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
4 changes: 4 additions & 0 deletions .zshenv
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# UTF-8 Support
setopt COMBINING_CHARS

# Homebrew path support
if command -v /usr/local/bin/brew >/dev/null 2>&1; then
eval "$(/usr/local/bin/brew shellenv)"
fi
5 changes: 0 additions & 5 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ export LANG=en_US.UTF-8
# Path setup
###

# Brew installed applications
if command -v brew >/dev/null 2>&1; then
export PATH="/usr/local/sbin:$PATH"
fi

# GNU Coreutils on macOS
if [ -d "/usr/local/opt/coreutils/libexec/gnubin" ]; then
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
Expand Down
8 changes: 0 additions & 8 deletions Projects/configuration/ansible/platform/MacOSX.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# vi:syntax=yaml.ansible
---
- name: Ensure SSH User environments are enabled
become: true
ansible.builtin.lineinfile:
path: /etc/ssh/sshd_config
regexp: "^#PermitUserEnvironment no"
line: PermitUserEnvironment yes
notify:
- restart_sshd
- name: Update Homebrew
community.general.homebrew:
update_homebrew: yes
Expand Down

0 comments on commit b0c6659

Please sign in to comment.