Skip to content

Commit

Permalink
Remove heights and reverse of layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Cam Spiers committed Feb 1, 2020
1 parent ee1f034 commit f1e7200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmuxinator-fzf-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# Allow the user to select projects via fzf
SELECTED_PROJECTS=$(tmuxinator list -n |
tail -n +2 |
fzf --prompt="Project: " -m -1 -q "$1" --reverse --height 50%)
fzf --prompt="Project: " -m -1 -q "$1")

if [ -n "$SELECTED_PROJECTS" ]; then
# Set the IFS to \n to iterate over \n delimited projects
Expand All @@ -44,7 +44,7 @@ if [ -n "$SELECTED_PROJECTS" ]; then

# If inside tmux then select session to switch, otherwise just attach
if [ -n "$TMUX" ]; then
SESSION=$(tmux list-sessions -F "#S" | fzf --prompt="Session: " --reverse --height 50%)
SESSION=$(tmux list-sessions -F "#S" | fzf --prompt="Session: ")
if [ -n "$SESSION" ]; then
tmux switch-client -t "$SESSION"
fi
Expand Down

0 comments on commit f1e7200

Please sign in to comment.