Skip to content

Instantly share code, notes, and snippets.

@AndreiChenchik
Last active December 3, 2017 12:55
Show Gist options
  • Save AndreiChenchik/65b8662145d8a28f989ec77bc7128cc1 to your computer and use it in GitHub Desktop.
Save AndreiChenchik/65b8662145d8a28f989ec77bc7128cc1 to your computer and use it in GitHub Desktop.
Qubes OS: Sublime
#!/usr/bin/env bash
# Script URL https://goo.gl/BxUJSj
# set -x
qvm-start stretch
qvm-firewall stretch --policy allow
qvm-run -a -p -u root stretch "wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -"
qvm-firewall stretch --policy deny
qvm-run -a -p -u root stretch "echo 'deb https://download.sublimetext.com/ apt/stable/' > /etc/apt/sources.list.d/sublime-text.list"
qvm-run -a -p -u root stretch "apt-get update && apt-get install -y sublime-text"
qvm-shutdown --wait stretch
qvm-trim-template stretch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment