mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fa28de8b94 | |||
| 0e2cfa2327 |
@@ -187,9 +187,6 @@ initialize_session() {
|
|||||||
local first_window_index=$(__get_first_window_index)
|
local first_window_index=$(__get_first_window_index)
|
||||||
tmux move-window -s "$session:$first_window_index" -t "$session:999"
|
tmux move-window -s "$session:$first_window_index" -t "$session:999"
|
||||||
|
|
||||||
# Ensure correct pane splitting.
|
|
||||||
__go_to_session
|
|
||||||
|
|
||||||
# Session created, return ok exit status.
|
# Session created, return ok exit status.
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -18,9 +18,5 @@ fi
|
|||||||
# Load runtime functions.
|
# Load runtime functions.
|
||||||
source "$TMUXIFIER/runtime.sh"
|
source "$TMUXIFIER/runtime.sh"
|
||||||
|
|
||||||
if [ ! -z $TMUX ]; then
|
# Load session file.
|
||||||
load_session "$1"
|
load_session "$1"
|
||||||
else
|
|
||||||
echo "tmuxifier: 'load-session' command can only be used from within Tmux."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$TMUXIFIER_DEBUG" ] && set -x
|
[ -n "$TMUXIFIER_DEBUG" ] && set -x
|
||||||
|
|
||||||
echo "0.4.1"
|
echo "0.5.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user