Fix issue with .zshrc

This commit is contained in:
2024-03-21 16:10:19 +00:00
parent e001c92190
commit 8b3b23c336
2 changed files with 5 additions and 6 deletions

View File

@@ -10,8 +10,6 @@ brew "mailsy"
brew "ollama", restart_service: true brew "ollama", restart_service: true
# Safe, concurrent, practical language # Safe, concurrent, practical language
brew "rust" brew "rust"
# Organize software neatly under a single directory tree (e.g. /usr/local)
brew "stow"
# Internet file retriever # Internet file retriever
brew "wget" brew "wget"
# Allows connection to a computer remotely # Allows connection to a computer remotely

View File

@@ -17,10 +17,6 @@ p () {
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"
fi fi
# Generate a new bundle in the dotfiles.
rm -f $HOME/dotfiles/BrewFile
brew bundle dump --describe --file=$HOME/dotfiles/BrewFile
case $1 in case $1 in
install|i) install|i)
shift shift
@@ -50,6 +46,11 @@ p () {
echo "Usage: p {(i)nstall|(r)emove|(u)pdate|(l)ist|(b)undle|(m)acOSupdate} <package>" echo "Usage: p {(i)nstall|(r)emove|(u)pdate|(l)ist|(b)undle|(m)acOSupdate} <package>"
;; ;;
esac esac
# Generate a new bundle in the dotfiles.
echo "Updating bundle in $HOME/dotfiles..."
rm -f $HOME/dotfiles/BrewFile
brew bundle dump --describe --file=$HOME/dotfiles/BrewFile
} }
# Shortcuts to extract files # Shortcuts to extract files