mirror of
https://github.com/vhaudiquet/mymachine.git
synced 2025-12-19 04:26:05 +00:00
ubuntu: switch to ghostty snap
This commit is contained in:
@@ -148,8 +148,7 @@ extra_init() {
|
|||||||
ghostty=$(which ghostty >/dev/null 2>&1)
|
ghostty=$(which ghostty >/dev/null 2>&1)
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo -ne "ghostty"
|
echo -ne "ghostty"
|
||||||
# TODO: use a ppa / something updatable
|
sudo snap install ghostty --classic >/dev/null 2>&1
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mkasberg/ghostty-ubuntu/HEAD/install.sh)" >/dev/null 2>&1
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo -e "${BRed}Could not install ghostty. Skipping.${NC}"
|
echo -e "${BRed}Could not install ghostty. Skipping.${NC}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user