mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 48b5150b0d | |||
| 38932bf33e | |||
| 2aa549ff70 | |||
| 6f0fdba121 | |||
| a1e6972434 | |||
| 7443dd74f8 | |||
| 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
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ if [ ! -f "$layout_file" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$EDITOR" ]; then
|
if [ -n "$EDITOR" ]; then
|
||||||
exec "$EDITOR" "$layout_file"
|
exec $EDITOR "$layout_file"
|
||||||
else
|
else
|
||||||
echo "'\$EDITOR' is not set. Please manually open the layout for editing:"
|
echo "'\$EDITOR' is not set. Please manually open the layout for editing:"
|
||||||
echo "$layout_file"
|
echo "$layout_file"
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ if [ ! -f "$layout_file" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$EDITOR" ]; then
|
if [ -n "$EDITOR" ]; then
|
||||||
exec "$EDITOR" "$layout_file"
|
exec $EDITOR "$layout_file"
|
||||||
else
|
else
|
||||||
echo "'\$EDITOR' is not set. Please manually open the layout for editing:"
|
echo "'\$EDITOR' is not set. Please manually open the layout for editing:"
|
||||||
echo "$layout_file"
|
echo "$layout_file"
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ content="$(cat "$template")"
|
|||||||
echo "${content//\{\{SESSION_NAME\}\}/$layout_name}" > "$layout_file"
|
echo "${content//\{\{SESSION_NAME\}\}/$layout_name}" > "$layout_file"
|
||||||
|
|
||||||
if [ -n "$EDITOR" ]; then
|
if [ -n "$EDITOR" ]; then
|
||||||
exec "$EDITOR" "$layout_file"
|
exec $EDITOR "$layout_file"
|
||||||
else
|
else
|
||||||
echo "Layout file has been created, but '\$EDITOR' is not set. Please "
|
echo "Layout file has been created, but '\$EDITOR' is not set. Please "
|
||||||
echo "manually open the layout for editing:"
|
echo "manually open the layout for editing:"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ content="$(cat "$template")"
|
|||||||
echo "${content//\{\{WINDOW_NAME\}\}/$layout_name}" > "$layout_file"
|
echo "${content//\{\{WINDOW_NAME\}\}/$layout_name}" > "$layout_file"
|
||||||
|
|
||||||
if [ -n "$EDITOR" ]; then
|
if [ -n "$EDITOR" ]; then
|
||||||
exec "$EDITOR" "$layout_file"
|
exec $EDITOR "$layout_file"
|
||||||
else
|
else
|
||||||
echo "Layout file has been created, but '\$EDITOR' is not set. Please "
|
echo "Layout file has been created, but '\$EDITOR' is not set. Please "
|
||||||
echo "manually open the layout for editing:"
|
echo "manually open the layout for editing:"
|
||||||
|
|||||||
@@ -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.5"
|
||||||
|
|||||||
Reference in New Issue
Block a user