Open .sh files on your Mac.
.sh .bash .zsh .zshrc
Deploy scripts and dotfiles like .zshrc, clearly colored.
Loper is a free, minimal editor for macOS that opens Shell scripts & dotfiles instantly and colors every part of the file, so you find the value you need at a glance and can fix it right there. No IDE, no project to load, no gray wall of text.

Show the file as text
set -euo pipefail TARGET="${1:-staging}"echo "Deploying to $TARGET" if [[ "$TARGET" == "production" ]]; then npm run build -- --mode productionfirsync -az dist/ "deploy@$TARGET:/srv/app"How to open .sh files
- Download Loper (free, Apple silicon, signed and notarized) and move it to Applications.
- Double-click your .sh file, drag it onto the Loper window, or right-click it and choose Open With › Loper.
- Want every .sh file to open in Loper? Choose Loper › Make Loper the Default Editor….