zsh-deploy/zsh-down.sh

17 lines
612 B
Bash
Raw Permalink Normal View History

2024-05-01 19:37:38 -04:00
#!/bin/bash
# This script is actually meant to be fetched by curl and piped to bash therefore, this script has been wrapped in a main function and executes it at the bottom
# This is done to prevent code running before it is meant to or in an incomplete manner
main() {
curl -s -o /tmp/zsh.sh -L https://codeberg.org/firebadnofire/zsh-deploy/raw/branch/main/zsh.sh
2024-05-01 19:38:44 -04:00
curl -s -o /tmp/fastfetch.sh -L https://codeberg.org/firebadnofire/zsh-deploy/raw/branch/main/fastfetch.sh
2024-05-01 19:37:38 -04:00
clear
chmod +x /tmp/zsh.sh
2024-05-01 19:39:33 -04:00
chmod +x /tmp/fastfetch.sh
2024-05-01 19:37:38 -04:00
echo "run /tmp/zsh.sh"
}
# Execute the main function
main