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
#!/bin/bash | |
set -m | |
showhelp() { | |
echo "Usage: $0 [-ohvrc] <command>" | |
echo "Pipes stderr from command to a new tmux pane." | |
echo " -h | -v split horizontally or vertically (default vertically)" | |
echo " -r send stdout to pane instead of stderr" | |
echo " -o send both stdout and stderr to new panes" | |
echo " -c close pane automatically after program terminates" |