Having installed VSCode's Local History plugin I found that I was getting ENOENT errors. This command will generate the required directory structure within your projects .history
folder.
Please Note: This will remove any existing .history
folder from your project.
- Open your
.bash_profile
or.zshrc
file - Add
script.sh
to the bottom of the file - Either restart your terminal, or run
source .bash_profile
orsource .zshrc
- Open Terminal and navigate to your working directory
- Run the command
gen-vshistory
- Lean back and wait for your
.history/
directory to be created