Sublime Text 3 Shell Installer for Fedora Linux x64
# Sublime Text 3 for Fedora Linux x64 (64 Bit)
# Sublime Text 3 - Build 3059
# Tested on Fedora 20 x64
#!/bin/sh
SHORTCUT="[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/opt/sublime_text_3/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=/opt/sublime_text_3/Icon/128x128/sublime-text.png
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=/opt/sublime_text_3/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=/opt/sublime_text/sublime_text --command new_file
OnlyShowIn=Unity;"
curl -L "http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3059_x64.tar.bz2" -o "/opt/sublime_text_3.tar.bz2"
cd /opt
tar -xvjf "sublime_text_3.tar.bz2"
rm -rf "sublime_text_3.tar.bz2"
echo "${SHORTCUT}" > "/usr/share/applications/sublime-text-3.desktop"
echo "Sublime Text 3 has been installed successful !"
Written by Jose Luis Quintana
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#