Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627#!/bin/bash
if [ -f /etc/os-release ]; then # shellcheck disable=SC1091 source /etc/os-release
if [ "$ID" = "ubuntu" ]; then # <https://github.com/mkasberg/ghostty-ubuntu> sudo add-apt-repository ppa:mkasberg/ghostty-ubuntu sudo apt update sudo apt install ghostty -y
elif [ "$ID" = "debian" ] || [ "$ID" = "linuxmint" ]; then /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mkasberg/ghostty-ubuntu/HEAD/install.sh)"
elif [ "$ID" = "fedora-asahi-remix" ]; then sudo dnf copr enable scottames/ghostty sudo dnf install ghostty -y fifi
# disable welcome message for fish shell on mac# <https://stackoverflow.com/questions/15769615/remove-last-login-message-for-new-tabs-in-terminal>if [[ $(uname -s) == 'Darwin' ]]; then touch ~/.hushloginfi