This commit is contained in:
Jeremie Fraeys 2023-11-30 21:53:12 -05:00
commit 4d7ccab1fb
2 changed files with 16 additions and 7 deletions

View file

@ -32,11 +32,20 @@ jobs:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/\
Homebrew/install/HEAD/install.sh)"
fi
brew install tmux
brew install tmux fd fzf
- name: Install tmux on Ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get install tmux
run: |
sudo apt-get update
sudo apt-get install -y tmux
sudo apt-get install -y fd-find
sudo apt-get install -y fzf
- name: Set up tmux environment
run: |
tmux new-session -d -s mysession
tmux new-window -t mysession:1 -n mywindow
- name: Test aactivator.py
run: |

View file

@ -36,6 +36,11 @@ if [ "$(uname)" == "Darwin" ]; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
PACKAGE_MANAGER="brew"
fi
# Enable Brew auto-update if the flag is set
if [ "$ENABLE_AUTO_UPDATE" == true ]; then
brew autoupdate --start --upgrade --cleanup
fi
elif [ "$(uname)" == "Linux" ]; then
# Check if on Linux and use the appropriate package manager
if command_exists apt-get; then
@ -138,11 +143,6 @@ tmux source ~/.tmux.conf
# Inform the user and wait for input
echo "Zsh, Tmux, Neovim, Go, and development tools configurations applied."
# Enable Brew auto-update if the flag is set
if [ "$ENABLE_AUTO_UPDATE" == true ]; then
brew autoupdate --start --upgrade --cleanup
fi
# Enable notifications if the flag is set
if [ "$ENABLE_NOTIFICATION" == true ]; then
echo "Press Enter to start Zsh and Tmux."