mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e08ee38927 | |||
| 8416e63094 | |||
|
|
fe1ac9d2f9 | ||
| 87c38ae818 | |||
| 3a74ff3a60 | |||
| 7df4a33a7d |
@@ -122,7 +122,7 @@ eval "$(tmuxifier init -)"
|
|||||||
And/or specify dynamically when calling `tmuxifier`:
|
And/or specify dynamically when calling `tmuxifier`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
TMUXIFIER_TMUX_OPTS="-L other-session" tmuxifier load-session welcome
|
TMUXIFIER_TMUX_OPTS="-L other-socket" tmuxifier load-session welcome
|
||||||
```
|
```
|
||||||
|
|
||||||
## Updating
|
## Updating
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ Some useful tmuxifier commands are:
|
|||||||
new-window nw Create new window layout and open it with \$EDITOR.
|
new-window nw Create new window layout and open it with \$EDITOR.
|
||||||
edit-session es Edit specified session layout with \$EDITOR.
|
edit-session es Edit specified session layout with \$EDITOR.
|
||||||
edit-window ew Edit specified window layout with \$EDITOR.
|
edit-window ew Edit specified window layout with \$EDITOR.
|
||||||
commands List all tmuxifier commands.
|
commands List all tmuxifier commands (including internal).
|
||||||
version Print Tmuxifier version.
|
version Print Tmuxifier version.
|
||||||
help Show this message.
|
help Show this message.
|
||||||
|
|
||||||
|
|||||||
@@ -2,4 +2,16 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$TMUXIFIER_DEBUG" ] && set -x
|
[ -n "$TMUXIFIER_DEBUG" ] && set -x
|
||||||
|
|
||||||
|
# Load internal utility functions.
|
||||||
|
source "$TMUXIFIER/lib/util.sh"
|
||||||
|
|
||||||
|
# Provide tmuxifier help
|
||||||
|
if calling-help "$@"; then
|
||||||
|
echo "usage: tmuxifier tmux [...]
|
||||||
|
|
||||||
|
Wrapper command for Tmux executable allowing Tmuxifier to pass in any custom
|
||||||
|
arguments specified in the TMUXIFIER_TMUX_OPTS environment variable."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
tmux $TMUXIFIER_TMUX_OPTS "$@"
|
tmux $TMUXIFIER_TMUX_OPTS "$@"
|
||||||
|
|||||||
@@ -9,10 +9,9 @@ source "$TMUXIFIER/lib/util.sh"
|
|||||||
if calling-help "$@"; then
|
if calling-help "$@"; then
|
||||||
echo "usage: tmuxifier tmux-version [target-version]
|
echo "usage: tmuxifier tmux-version [target-version]
|
||||||
|
|
||||||
Outputs current Tmux version. If given optional target-version it uses the
|
Outputs current Tmux version. If given optional target-version it outputs one
|
||||||
compare-versions command to output one of three possible characters indicating
|
of three possible characters indicating if the current Tmux version number is
|
||||||
if the current Tmux version is equal to, less, or higher version than the
|
equal to, less than, or greater than the [target-version].
|
||||||
the [target-version].
|
|
||||||
|
|
||||||
The three possible outputs are \"=\", \"<\", and \">\"."
|
The three possible outputs are \"=\", \"<\", and \">\"."
|
||||||
exit
|
exit
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Outputs Tmuxifier version."
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "0.11.0"
|
echo "0.11.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user