17 lines
		
	
	
		
			366 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			366 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env zsh
 | 
						|
 | 
						|
if ! command_exists tmux; then
 | 
						|
    echo_g "==> Installing tmux"
 | 
						|
    pkg_install tmux
 | 
						|
    if is_mac; then
 | 
						|
        brew install reattach-to-user-namespace libevent
 | 
						|
    fi
 | 
						|
else
 | 
						|
    echo_r "==> Tmux is already installed!"
 | 
						|
fi
 | 
						|
 | 
						|
echo_g "==> Tmux: Setting up symlinks"
 | 
						|
rm -rf ~/.tmux.conf && ln -sf ~/.dotfiles/tmux.conf ~/.tmux.conf
 | 
						|
 | 
						|
echo_g "==> DONE!"
 |