mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Re-organize and improve help command and help info for each command
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
set -e
|
||||
[ -n "$TMUXIFIER_DEBUG" ] && set -x
|
||||
|
||||
# Provide tmuxifier help
|
||||
if [ "$1" == "--help" ]; then
|
||||
echo "usage: tmuxifier resolve-command-path <command_or_alias>
|
||||
|
||||
Outputs the absolute path to the given command or command alias."
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
! command_path="$(command -v "tmuxifier-$1")"
|
||||
if [ -z "$command_path" ]; then
|
||||
|
||||
Reference in New Issue
Block a user