mirror of
				https://tildegit.org/ben/dotfiles.git
				synced 2025-08-10 05:02:03 +00:00 
			
		
		
		
	add makefile
This commit is contained in:
		
							parent
							
								
									76d87218b7
								
							
						
					
					
						commit
						b1ddc6f1c6
					
				
							
								
								
									
										68
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										68
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,68 @@
 | 
			
		||||
YELLOW = $$(tput setaf 226)
 | 
			
		||||
GREEN = $$(tput setaf 46)
 | 
			
		||||
RED = $$(tput setaf 196)
 | 
			
		||||
RESET = $$(tput sgr0)
 | 
			
		||||
 | 
			
		||||
ifeq ($(OS),Windows_NT)
 | 
			
		||||
	UNAME = Windows
 | 
			
		||||
else
 | 
			
		||||
	UNAME_S := $(shell uname -s)
 | 
			
		||||
	ifeq ($(UNAME_S),Linux)
 | 
			
		||||
		UNAME = Linux
 | 
			
		||||
	endif
 | 
			
		||||
	UNAME ?= Other
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
install:
 | 
			
		||||
	@make $(UNAME)
 | 
			
		||||
 | 
			
		||||
Linux: bash ssh fish git mutt byobu weechat vim
 | 
			
		||||
Windows: bash ssh git vim
 | 
			
		||||
Other: bash git vim 
 | 
			
		||||
 | 
			
		||||
clean:
 | 
			
		||||
	@printf "$(RED)--- clean -----------------------------------------------\n$(RESET)"
 | 
			
		||||
	stow -t "$$HOME" -D bash
 | 
			
		||||
	stow -t "$$HOME" -D ssh
 | 
			
		||||
	stow -t "$$HOME" -D fish
 | 
			
		||||
	stow -t "$$HOME" -D git
 | 
			
		||||
	stow -t "$$HOME" -D vim
 | 
			
		||||
	stow -t "$$HOME" -D mutt
 | 
			
		||||
	stow -t "$$HOME" -D byobu
 | 
			
		||||
	stow -t "$$HOME" -D weechat
 | 
			
		||||
 | 
			
		||||
bash:
 | 
			
		||||
	@printf "$(YELLOW)--- bash -----------------------------------------------\n$(RESET)"
 | 
			
		||||
	stow -t "$$HOME" bash
 | 
			
		||||
 | 
			
		||||
ssh:
 | 
			
		||||
	@printf "$(YELLOW)--- ssh ------------------------------------------------\n$(RESET)"
 | 
			
		||||
	stow -t "$$HOME" ssh
 | 
			
		||||
 | 
			
		||||
fish:
 | 
			
		||||
	@printf "$(YELLOW)--- fish -----------------------------------------------\n$(RESET)"
 | 
			
		||||
	stow -t "$$HOME" fish
 | 
			
		||||
 | 
			
		||||
git:
 | 
			
		||||
	@printf "$(YELLOW)--- git ------------------------------------------------\n$(RESET)"
 | 
			
		||||
	stow -t "$$HOME" git
 | 
			
		||||
 | 
			
		||||
vim:
 | 
			
		||||
	@printf "$(YELLOW)--- vim ------------------------------------------------\n$(RESET)"
 | 
			
		||||
	stow -t "$$HOME" vim
 | 
			
		||||
	~/.spf13-vim/bootstrap.sh
 | 
			
		||||
 | 
			
		||||
mutt:
 | 
			
		||||
	@printf "$(YELLOW)--- mutt -----------------------------------------------\n$(RESET)"
 | 
			
		||||
	stow -t "$$HOME" mutt
 | 
			
		||||
 | 
			
		||||
byobu:
 | 
			
		||||
	@printf "$(YELLOW)--- byobu ----------------------------------------------\n$(RESET)"
 | 
			
		||||
	stow -t "$$HOME" byobu
 | 
			
		||||
 | 
			
		||||
weechat:
 | 
			
		||||
	@printf "$(YELLOW)--- weechat --------------------------------------------\n$(RESET)"
 | 
			
		||||
	stow -t "$$HOME" weechat
 | 
			
		||||
 | 
			
		||||
.PHONY: bash fish git vim mutt byobu weechat clean install Windows Linux Other
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										54
									
								
								ssh/.ssh/config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								ssh/.ssh/config
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,54 @@
 | 
			
		||||
Port 22
 | 
			
		||||
 | 
			
		||||
Host tilde
 | 
			
		||||
Hostname tilde.team
 | 
			
		||||
User ben
 | 
			
		||||
 | 
			
		||||
Host town
 | 
			
		||||
Hostname tilde.town
 | 
			
		||||
User benharri
 | 
			
		||||
LocalForward localhost:12345 localhost:12345
 | 
			
		||||
 | 
			
		||||
Host ctrl
 | 
			
		||||
Hostname ctrl-c.club
 | 
			
		||||
User benharri
 | 
			
		||||
 | 
			
		||||
Host sdf
 | 
			
		||||
Hostname arpa.sdf.org
 | 
			
		||||
User benharri
 | 
			
		||||
 | 
			
		||||
Host euclid
 | 
			
		||||
Hostname euclid.nmu.edu
 | 
			
		||||
User benharri
 | 
			
		||||
 | 
			
		||||
Host thor
 | 
			
		||||
Hostname thor.tilde.team
 | 
			
		||||
User ben
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Host gh
 | 
			
		||||
Hostname github.com
 | 
			
		||||
User git
 | 
			
		||||
 | 
			
		||||
Host gl
 | 
			
		||||
Hostname gitlab.com
 | 
			
		||||
User git
 | 
			
		||||
 | 
			
		||||
Host tgit
 | 
			
		||||
Hostname tilde.team
 | 
			
		||||
User git
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Host da1.hashbang.sh ny1.hashbang.sh sf1.hashbang.sh to1.hashbang.sh
 | 
			
		||||
User benharri
 | 
			
		||||
 | 
			
		||||
Host git-infra.hashbang.sh
 | 
			
		||||
User git
 | 
			
		||||
 | 
			
		||||
Host sfo1.irc.hashbang.sh ldap.hashbang.sh
 | 
			
		||||
User core
 | 
			
		||||
 | 
			
		||||
Host *.hashbang.sh hashbang.sh
 | 
			
		||||
User core
 | 
			
		||||
Port 8993
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user