feat(zsh): add a function to delete all node_modules folder

This commit is contained in:
Stefan Imhoff
2022-12-15 11:24:21 +01:00
parent 2a0ca245a5
commit e111974432

5
zshrc
View File

@@ -98,6 +98,11 @@ function update () {
sudo softwareupdate -i -a
}
# Delete all node_modules folders in a folder and subfolders
function deleteNodeModules () {
find . -name "node_modules" -type d -exec rm -rf '{}' +
}
function homebrewBackup () {
cd ~/.dotfiles/
brew bundle dump --describe -f