23 lines
		
	
	
		
			306 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			306 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env zsh
 | 
						|
source ${0:A:h}/../../deploy
 | 
						|
 | 
						|
install() {
 | 
						|
  case $(_os) in
 | 
						|
    macos)  brew install bash ;;
 | 
						|
    # arch) ;;  # NOTE Already installed
 | 
						|
    debian) sudo apt-get install -y bash ;;
 | 
						|
  esac
 | 
						|
}
 | 
						|
 | 
						|
# update() { }
 | 
						|
 | 
						|
link() {
 | 
						|
  mklink .bash* ~/
 | 
						|
}
 | 
						|
 | 
						|
clean() {
 | 
						|
  rm -fv ~/.bash{rc,_profile}
 | 
						|
}
 | 
						|
 | 
						|
init "$@"
 |