Skip to content

Instantly share code, notes, and snippets.

@Screwtapello
Created October 1, 2019 12:46
Show Gist options
  • Save Screwtapello/cd8d7bbf14ffa9a29fdda314970c4667 to your computer and use it in GitHub Desktop.
Save Screwtapello/cd8d7bbf14ffa9a29fdda314970c4667 to your computer and use it in GitHub Desktop.
  • Launch Services (does not use a login shell)
    • Finder
    • Kitty
      • bash #1 (login shell)
        • kak -s apple
      • bash #2 (login shell)
        • kak -s apple
          • connects to the Kakoune inside bash #1, and so you see the bash #1 environment (also a login shell)
      • bash #3 (login shell)
        • kitty @ new-window kak -s banana
          • connects to Kitty, tells it to launch a new window, but does not transfer environment
      • kak -s banana (from the request sent from bash #3)
        • not inside a login shell, does not see anything set in .profile or .bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment