Last active
June 5, 2020 10:35
-
-
Save jackiect/e3400332ddd4efa63a694cb246ad61c8 to your computer and use it in GitHub Desktop.
Revisions
-
jackiect revised this gist
Apr 6, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #!/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 created this gist
Mar 9, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ #!/usr/bin/env bash SESSION="`pwd |rev |cut -f1 -d/ |rev`#vs-`pwd |md5sum |cut -c1-7`" tmux attach -d -t $SESSION || tmux new -s $SESSION