From d0a79c3716d643fa1e936434fc00a0de88d42983 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 16 May 2025 10:40:37 -0300 Subject: zsh: 'subl' alias --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.zshrc') 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" -- cgit 1.3.0-6-gf8a5