Skip to content

Commit

Permalink
Add tmux conf
Browse files Browse the repository at this point in the history
  • Loading branch information
ericboehs committed Mar 26, 2024
1 parent a6cd9c3 commit 7e1b326
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ git clone https://github.com/department-of-veterans-affairs/vets-api-mockdata.gi
sudo apt update
sudo apt install -y libpq-dev pdftk shared-mime-info postgresql-15-postgis-3

# Add tmux config
if [ ! -f $HOME/.tmux.conf ]; then
cat <<EOT >> $HOME/.tmux.conf
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
run '~/.tmux/plugins/tpm/tpm'
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
EOT
fi

gem install bundler
NUM_CORES=$( cat /proc/cpuinfo | grep '^processor'|wc -l )
bundle config --global jobs `expr $NUM_CORES - 1`
Expand Down

0 comments on commit 7e1b326

Please sign in to comment.