From cf1efac6759ff94b1354a919db62b82f4ed906a4 Mon Sep 17 00:00:00 2001 From: Keegan Date: Thu, 18 Aug 2022 17:54:06 -0400 Subject: [PATCH] tweaked tmux startup script. Working towards keyless apis --- bin/startup/tmux_startup.sh | 4 ++-- zshrc | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/startup/tmux_startup.sh b/bin/startup/tmux_startup.sh index b8d7225..de34063 100755 --- a/bin/startup/tmux_startup.sh +++ b/bin/startup/tmux_startup.sh @@ -28,14 +28,14 @@ if [[ -z $session_exists ]] ; then tmux select-window -t $session:0 tmux split-window -h -p 25 - tmux send-keys "cd && clear && printf '\n\n\n' && curl --silent -fL "https://wttr.in?Fn"" C-m + tmux send-keys 'cd && clear && curl --silent -fL https://wttr.in?Fn' Enter tmux select-pane -t 0 tmux split-window -h -p 66 tmux select-pane -t 0 tmux split-window -v -p 90 tmux select-pane -t 0 - tmux send-keys "cd && clear && printf '\n\n' && $HOME/.dotfiles/bin/startup/quote.sh && printf '\n'" C-m + tmux send-keys 'cd && clear && quote.sh' Enter tmux select-pane -t 1 tmux send-keys 'cd && clear' C-m tmux select-pane -t 2 diff --git a/zshrc b/zshrc index 5172353..9663e7c 100644 --- a/zshrc +++ b/zshrc @@ -16,6 +16,9 @@ export GOROOT=/usr/local/go export GOPATH=$HOME/go export GOBIN=$GOPATH/bin export PATH=$PATH:$GOBIN:$GOPATH:$GOROOT:$GOROOT/bin + +# adding scripts to path +export PATH=$PATH:$HOME/.dotfiles/bin/startup:$HOME/.dotfiles/bin # Set name of the theme to load --- if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME