mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +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
|
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 () {
|
function homebrewBackup () {
|
||||||
cd ~/.dotfiles/
|
cd ~/.dotfiles/
|
||||||
brew bundle dump --describe -f
|
brew bundle dump --describe -f
|
||||||
|
|||||||
Reference in New Issue
Block a user