I want to have a personal startup/init script for sprites

Sprites are rad, but I have a collection of software I like to have available on my sprites (tmux, neovim, opencode, etc) and it’s kind of tedious to have to install all of it myself.

I’d love to be able to populate my account with a bunch of “startup script”s (like a #cloud-config script or something) and be able to select one whenever I fire up a sprite. Would be slick to have an interface that makes it dead simple to ensure every new sprite I fire up has the things I want.

1 Like

Sprite cloning is reportedly coming, but for now I’d suggest creating a public shell script repo, so you can do curl https://github.com/username/project/script.sh | bash; a one-liner you can paste into your terminal.

2 Likes

I do this with a spriteprepare function in my zshrc. I create a new sprite, then I can run spriteprepare on it. Would be nice to have this somehow shared so it auto-applies whenever you create with any method though! In case it’s helpful, my functions: Sprite functions (zshrc) · GitHub

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.