Commit eec7f08e authored by Dominik Ritter's avatar Dominik Ritter

Add warning about possible profile name collisions

parent 43872333
...@@ -1645,6 +1645,10 @@ get_term_font() { ...@@ -1645,6 +1645,10 @@ get_term_font() {
;; ;;
"iTerm2") "iTerm2")
# Unfortunately the profile name is not unique, but it seems to be the only thing
# that identifies an active profile. There is the "id of current session of current window"
# thou, but that does not match to a guid in the plist.
# So, be warned! Collisions may occur!
local currentProfileName=$(osascript -e 'tell application "iTerm2" to profile name of current session of current window') local currentProfileName=$(osascript -e 'tell application "iTerm2" to profile name of current session of current window')
# Count Guids in "New Bookmarks"; they should be unique # Count Guids in "New Bookmarks"; they should be unique
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment