diff options
author | Cody Hiar <chiar@hybridforge.com> | 2015-08-12 12:06:23 -0600 |
---|---|---|
committer | Cody Hiar <chiar@hybridforge.com> | 2015-08-12 12:06:23 -0600 |
commit | 07fc2644a237187dd4c5680e88f4adadbf533603 (patch) | |
tree | bb6335e180df48c5a6f0b893312857d36ad470f7 /segments/tmux_session_info.sh |
Initial commit of the working files
Diffstat (limited to 'segments/tmux_session_info.sh')
-rwxr-xr-x | segments/tmux_session_info.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/segments/tmux_session_info.sh b/segments/tmux_session_info.sh new file mode 100755 index 0000000..fbfddc2 --- /dev/null +++ b/segments/tmux_session_info.sh @@ -0,0 +1,7 @@ +# Prints tmux session info. +# Assuems that [ -n "$TMUX"]. + +run_segment() { + tmux display-message -p '#S' + return 0 +} |