Skip to content

Commit c684d7d

Browse files
author
Anthony Bouch
committed
Included system username in session script path.
1 parent bb3cdcb commit c684d7d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Foo.applescript

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
set session to load script (POSIX file "/Users/alice/Library/Application Support/iTerm/Scripts/Session.scpt")
1+
#Include the next three lines in all of your project scripts.
2+
set userName to do shell script "whoami"
3+
set sessionScript to "/Users/" & userName & "/Library/Application Support/iTerm/Scripts/Session.scpt"
4+
set session to load script (POSIX file sessionScript)
25

6+
#Project specific settings go here.
37
set session's server to "middleman"
48
set session's server_url to "http://0.0.0.0:4567/"
59
set session's server_path to "/Users/alice/Clients/Foo/Solutions/Web"

Foo.scpt

966 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)