updates sessions to include params, adds web param
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# alias wezterm='flatpak run org.wezfurlong.wezterm'
|
||||
PANE=$(flatpak run org.wezfurlong.wezterm cli list | grep syncopotamus | head -n 1 | awk '{print $3}')
|
||||
|
||||
if [ -n "${PANE}" ]; then
|
||||
@@ -18,3 +17,8 @@ PANE=$(flatpak run org.wezfurlong.wezterm cli split-pane --left --pane-id $PANE)
|
||||
echo "cd ~/repos/syncopotamus-rails" | flatpak run org.wezfurlong.wezterm cli send-text --no-paste --pane-id $PANE
|
||||
echo "nvim" | flatpak run org.wezfurlong.wezterm cli send-text --no-paste --pane-id $PANE
|
||||
flatpak run org.wezfurlong.wezterm cli adjust-pane-size --amount 50 --pane-id $PANE right
|
||||
|
||||
if [ "$1" == "web" ]; then
|
||||
firefox https://3.basecamp.com/5456546/buckets/34127086/card_tables/6496384013
|
||||
firefox --new-window http://localhost:4000
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user