Skip to content

Commit

Permalink
Merge pull request #8 from eduardoportilho/escape-path-on-iterm-actions
Browse files Browse the repository at this point in the history
Escape directory path on iTerm actions
  • Loading branch information
Mortennn committed May 9, 2019
2 parents 2d6a7c3 + 6b64b40 commit 119bf1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Common/DefaultActions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public class DefaultActions {
tell the current window
activate current session
tell current session
write text "cd " & $PATH & "; clear"
write text "cd " & quoted form of $PATH & "; clear"
end tell
end tell
end tell
Expand All @@ -144,7 +144,7 @@ public class DefaultActions {
tell application "iTerm"
tell current window
tell current session
write text "cd " & $PATH & "; clear"
write text "cd " & quoted form of $PATH & "; clear"
end tell
end tell
end tell
Expand Down Expand Up @@ -176,7 +176,7 @@ public class DefaultActions {
activate current session
launch session "Default Session"
tell the last session
write text "cd " & $PATH & "; clear"
write text "cd " & quoted form of $PATH & "; clear"
end tell
end tell
end tell
Expand Down

0 comments on commit 119bf1c

Please sign in to comment.