alias slt='open -a "Sublime Text X"'
open -a "Sublime Text X" "$@"
chmod +x sublime.sh
./sublime.sh filename filename2 filename3
jps wrote:On Linux, you can just pass the command line arguments directly to the excutable.
Personally, I have a symlink to sublime_text in my path called 'subl', so I can just type "subl readme.txt" to open a file.
Users browsing this forum: Yahoo [Bot] and 34 guests