{"push_id":2309723566,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"4ab85f5db0e09025471d0d6da38bef1bbe9d54ba","before":"a4bb448bfc404c2f76219d77c030f26e34c84f3c","commits":[{"sha":"43b616e5e086653af4c4575deb5c03f645b5acc1","author":{"name":"KASHIMA Masahiro","email":"a3fea4095f1a29f962ee344a3130985ec533d8ff@users.noreply.github.com"},"message":"[from now] 2018/02/06 22:20:50\n\ndiff --git a/.zshrc b/.zshrc\nindex 4b5ca4d..1febdb1 100644\n--- a/.zshrc\n+++ b/.zshrc\n@@ -190,10 +190,10 @@ for file in $source_files; do [ -f $file ] && source $file; done\n\n # tmux default session\n if [[ \"$OSTYPE\" = darwin* ]]; then\n-  if [ -z \"$TMUX\" ]; then\n+  if ! tmux server-info > /dev/null 2>&1; then\n     default_session=$(hostname | sed -e 's/\\..*//g')\n-    if tmux has-session -t $default_session 2> /dev/null; then\n-      tmux attach -d -t $default_session\n+    if tmux has-session -t $default_session > /dev/null 2>&1; then\n+      tmux new -s \"${default_session}_$(date +%Y%m%d_%H%M%S)\"\n     else\n       tmux new -s $default_session\n     fi","distinct":true,"url":"https://api.github.com/repos/kashimoo/dotfiles/commits/43b616e5e086653af4c4575deb5c03f645b5acc1"},{"sha":"4ab85f5db0e09025471d0d6da38bef1bbe9d54ba","author":{"name":"KASHIMA Masahiro","email":"a3fea4095f1a29f962ee344a3130985ec533d8ff@users.noreply.github.com"},"message":"[from now] 2018/02/06 22:39:53\n\ndiff --git a/.tmux.conf b/.tmux.conf\nindex 906f708..fbc6732 100644\n--- a/.tmux.conf\n+++ b/.tmux.conf\n@@ -31,5 +31,5 @@ bind -T copy-mode-vi y send -X copy-pipe-and-cancel \"pbcopy\"\n bind -T copy-mode-vi Enter send -X copy-pipe-and-cancel \"pbcopy\"\n bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel \"pbcopy\"\n\n-bind Left swap-window -t -1\n-bind Right swap-window -t 1\n+bind -r Left swap-window -t -1\n+bind -r Right swap-window -t +1","distinct":true,"url":"https://api.github.com/repos/kashimoo/dotfiles/commits/4ab85f5db0e09025471d0d6da38bef1bbe9d54ba"}]}
{"actor":{"display_login":"kashimoo"}}