dotfiles/.local/bin/bp

12 lines
188 B
Text
Raw Normal View History

2023-08-24 11:38:18 +02:00
#!/bin/bash
# bp
# creates folder in /tmp with bun init a.k.a bun playground
BP_TEMP_PATH=$(mktemp -d --suffix=-bun.playground)
cd $BP_TEMP_PATH
bun init -y
nvim .
rm -rf $BP_TEMP_PATH