desktop-ubuntu/sublime-merge/_install.sh

39 lines
764 B
Bash
Raw Permalink Normal View History

2023-06-18 15:34:39 +02:00
#!/usr/bin/zsh
# video-drivers related things for GL context
sudo apt-get install -y \
ibus ibus-data ibus-gtk ibus-gtk3 \
libegl1-mesa libgl1-mesa-glx \
libxcb-xtest0 python3-ibus-1.0
# install sublime-merge
wget -qO - \
'https://download.sublimetext.com/sublimehq-pub.gpg' \
| sudo apt-key add -
sudo apt install -y \
apt-transport-https
echo 'deb https://download.sublimetext.com/ apt/stable/' \
| sudo tee '/etc/apt/sources.list.d/sublime-text.list'
sudo apt update -y
sudo apt install -y \
sublime-merge
BIN=/Apps
# aliases
ln -s '/opt/sublime_merge/sublime_merge' "$BIN/sublime_merge"
# link configs
mkdir -p ~/.config/sublime-merge/Packages/
cd /Cfg/sublime-merge/
2024-01-20 18:10:59 +01:00
ln -s `pwd`/* \
~/.config/sublime-merge/Packages/User/