-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# ~/.tmuxinator/slides-docker4devs.yml | ||
name: slides-docker4devs | ||
root: <%= ENV["PROJECTS"] %>/slides/slides-docker4devs | ||
tmux_options: -2 | ||
# Optional tmux socket | ||
# socket_name: foo | ||
|
||
# Runs before everything. Use it to start daemons etc. | ||
# pre: sudo /etc/rc.d/mysqld start | ||
pre: | ||
- make environment | ||
|
||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. | ||
# pre_window: rbenv shell 2.0.0-p247 | ||
|
||
# Pass command line options to tmux. Useful for specifying a different tmux.conf. | ||
# tmux_options: -f ~/.tmux.mac.conf | ||
|
||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. | ||
# tmux_command: byobu | ||
|
||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. | ||
# startup_window: logs | ||
|
||
# Controls whether the tmux session should be attached to automatically. Defaults to true. | ||
# attach: false | ||
|
||
# Runs after everything. Use it to attach to tmux with custom options etc. | ||
# post: tmux -CC attach -t go-stringutil | ||
|
||
windows: | ||
- editor: | ||
layout: even-horizontal | ||
panes: | ||
- editor: | ||
- pyenv activate slides-docker4devs | ||
- pwd: | ||
- pyenv activate slides-docker4devs | ||
- pwd: | ||
- pyenv activate slides-docker4devs | ||
- python: | ||
layout: main-vertical | ||
panes: | ||
- python: | ||
- pyenv activate slides-docker4devs | ||
- databases: | ||
layout: main-vertical | ||
panes: | ||
- ls: | ||
- pyenv activate slides-docker4devs | ||
- ls: | ||
- pyenv activate slides-docker4devs | ||
- docker: | ||
layout: main-vertical | ||
panes: | ||
- ls: | ||
- pyenv activate slides-docker4devs | ||
- ls: | ||
- pyenv activate slides-docker4devs |
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
# -*- coding: utf-8 -*- | ||
|
||
|
||
ORIG_MSG_FILE="$1" | ||
TEMP=`mktemp /tmp/git-XXXXX` | ||
|
||
TICKETNO=`git branch | grep '^\*' | cut -b3- | sed 's/[a-z/]//g'` | ||
|
||
(echo "!$TICKETNO"; cat "$ORIG_MSG_FILE") > "$TEMP" | ||
cat "$TEMP" > "$ORIG_MSG_FILE" |
Binary file not shown.