mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
feat(zsh): add a function to delete all node_modules folder
This commit is contained in:
5
zshrc
5
zshrc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user