Skip to content

Instantly share code, notes, and snippets.

@MarkTiedemann
Created January 11, 2018 17:47
Show Gist options
  • Save MarkTiedemann/bbe2a079c81492195150d65c03aceeb8 to your computer and use it in GitHub Desktop.
Save MarkTiedemann/bbe2a079c81492195150d65c03aceeb8 to your computer and use it in GitHub Desktop.

If you have cmd open two times, and you wanna use the same directory in both sessions:

  1. Type cd | clip in the first one.
  2. Then alt+tab to the second one.
  3. Type cd and hit ctrl+v.

And you're done (you don't even need to hit enter anymore).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment