14 lines
		
	
	
		
			267 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			267 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
case "$OSTYPE" in
 | 
						|
    darwin*)
 | 
						|
        brew install tmux
 | 
						|
        ;;
 | 
						|
    linux*)
 | 
						|
        if [ -f /etc/arch-release ]; then
 | 
						|
            sudo pacman -S tmux
 | 
						|
        elif [ -f /etc/debian-version ]; then
 | 
						|
            sudo apt-get install tmux
 | 
						|
        fi
 | 
						|
esac
 |