mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
style(shell): improve shell script formatting and quoting
Apply shfmt formatting and fix some schellcheck complaints.
This commit is contained in:
@@ -14,8 +14,8 @@ Outputs the name of the current Tmux session."
|
||||
fi
|
||||
|
||||
if [ -n "$TMUX" ]; then
|
||||
for item in $(tmuxifier-tmux list-pane -F "#{session_name}");do
|
||||
echo $item
|
||||
for item in $(tmuxifier-tmux list-pane -F "#{session_name}"); do
|
||||
echo "$item"
|
||||
exit 0
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user