start new:
tmux
start new with session name:
tmux new -s myname
| git push -u origin newLocalBranch |
| # Fix agent forwarding | |
| # https://gist.github.com/martijnvermaat/8070533 | |
| # http://techblog.appnexus.com/2011/managing-ssh-sockets-in-gnu-screen/ | |
| # See .ssh/rc for socket linking | |
| unsetenv SSH_AUTH_SOCK | |
| setenv SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock.$HOSTNAME |
| #!/usr/bin/env bash | |
| ENV_PATH="$(dirname "$(dirname "$(which pip)")")" | |
| SYSTEM_VIRTUALENV="$(which -a virtualenv|tail -1)" | |
| BAD_ENV_PATHS="/usr/local" | |
| echo "Ensure the root of the broken virtualenv:" | |
| echo " $ENV_PATH" |
| # In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
| # variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
| # in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
| # gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
| # Add the following to your shell init to set up gpg-agent automatically for every shell | |
| if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
| source ~/.gnupg/.gpg-agent-info | |
| export GPG_AGENT_INFO | |
| else |
| import click | |
| import docker | |
| from .compose_wrapper import comp, dc_passthrough | |
| from .env import get_env, setup_env | |
| def dc(): | |
| """Use docker-compose CLI directly. |