#!/bin/bash

# iterm2 config
curl -L https://iterm2.com/shell_integration/bash -o /tmp/.iterm2_shell_integration.bash
cp /tmp/.iterm2_shell_integration.bash /home/dbi/
sudo cp /tmp/.iterm2_shell_integration.bash /root/
echo "source /home/dbi/.iterm2_shell_integration.bash" >> /home/dbi/.bashrc
sudo bash -c 'echo "source /root/.iterm2_shell_integration.bash" >> /root/.bashrc'