hack for kitty
This commit is contained in:
parent
dfaaeb18f8
commit
2942c925ff
@ -20,7 +20,10 @@ USER=$(whoami)
|
||||
STEP=1
|
||||
cd
|
||||
|
||||
TERM="xterm-256color"
|
||||
#short-term hack for kitty in early OSes
|
||||
if [ "$TERM" == "xterm-kitty" ];then
|
||||
export TERM="xterm-256color"
|
||||
fi
|
||||
|
||||
echo -e "
|
||||
|
||||
@ -111,7 +114,6 @@ new_line "Update caches and upgrade packages"
|
||||
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
||||
sudo apt-get update 2>&1|pad
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -o "Dpkg::Options::=--force-confold" -o "Dpkg::Options::=--force-confdef" upgrade -y --allow-downgrades --allow-remove-essential --allow-change-held-packages 2>&1|pad
|
||||
sudo apt-get install software-properties-common -y 2>&1|pad
|
||||
|
||||
{{ else if eq .chezmoi.osRelease.id "arch" -}}
|
||||
sudo pacman -Syu --noconfirm 2>&1|pad
|
||||
@ -122,16 +124,17 @@ new_line "Update caches and upgrade packages"
|
||||
new_line "Install base packages"
|
||||
|
||||
{{ if eq .chezmoi.os "darwin" -}}
|
||||
brew install -q $BASE_PACKAGES python difftastic 2>&1|pad
|
||||
brew install -q $BASE_PACKAGES python 2>&1|pad
|
||||
|
||||
{{ else if eq .chezmoi.osRelease.id "fedora" -}}
|
||||
sudo dnf install $BASE_PACKAGES difftastic kitty-terminfo util-linux-user python3-pip -y 2>&1|pad
|
||||
sudo dnf install $BASE_PACKAGES kitty-terminfo util-linux-user python3-pip -y 2>&1|pad
|
||||
|
||||
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
||||
sudo apt-get install $BASE_PACKAGES kitty-terminfo direnv python3-pip -y 2>&1|pad
|
||||
sudo apt-get install software-properties-common -y 2>&1|pad
|
||||
|
||||
{{ else if eq .chezmoi.osRelease.id "arch" -}}
|
||||
sudo pacman -Sy --noconfirm $BASE_PACKAGES difftastic kitty-terminfo python3-pip 2>&1|pad
|
||||
sudo pacman -Sy --noconfirm $BASE_PACKAGES kitty-terminfo python3-pip 2>&1|pad
|
||||
|
||||
{{ end -}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user