diff --git a/README.md b/README.md index cbc2815..8f6c1f7 100644 --- a/README.md +++ b/README.md @@ -11,4 +11,6 @@ path to the binaries. `ifconfig` (kind of redundant because we can use `ip` in the WSL but keeping it here anyway for convenience) - `wsl`: use the WSL to WSL the WSL. +- `start`: start `tmux` as a sub-process of `ssh-agent` and attach to the + `main` session, creating it if not existent. diff --git a/bin/start b/bin/start new file mode 100644 index 0000000..d7e8b01 --- /dev/null +++ b/bin/start @@ -0,0 +1,3 @@ +#!/bin/sh +exec ssh-agent tmux new-session -A -t main "$@" +