« get me outta code hell

dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 07f6245..e185d87 100644
--- a/.zshrc
+++ b/.zshrc
@@ -139,6 +139,10 @@ relink() {
 
 # -- hooks into third-party stuff --
 
+if [[ -v DEVICE_HAS_SUBLIME_TEXT ]]; then
+  alias subl='open -a "$DEVICE_SUBLIME_TEXT_INSTALLATION"'
+fi
+
 if [[ -v DEVICE_HAS_VIM ]]; then
   vimhelp() {
     vim -c ":h $1 | only"