Skip to content

Instantly share code, notes, and snippets.

@jackiect
Last active June 5, 2020 10:35
Show Gist options
  • Save jackiect/e3400332ddd4efa63a694cb246ad61c8 to your computer and use it in GitHub Desktop.
Save jackiect/e3400332ddd4efa63a694cb246ad61c8 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
SESSION="vs@`pwd |rev |cut -f1 -d/ |rev| cut -f2 -d.`#`pwd |md5sum |cut -c1-7`"
tmux attach -d -t $SESSION || tmux new -s $SESSION
@jackiect
Copy link
Author

jackiect commented Apr 9, 2020

{
    "terminal.integrated.shell.osx": "${env:HOME}/.bin/vscode-shell"
}

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