Dotfiles/Scripts
Cleanup enviorment
Cleans up generated development files based on if it's a nextjs or vite app
[!NOTE] This is for .fish style shell
Create the extensionless script file at ~/.config/dotfiles/scripts/cleanup-node
:
Setup Instructions
-
Create the script directory:
-
Make the script executable:
-
Source it in your fish config (
~/.config/fish/config.fish
):Or source just this specific script:
-
Reload your fish config:
Now you can use rmnode
command from anywhere in your terminal!