Add .functions
This commit is contained in:
		
							
								
								
									
										13
									
								
								.functions
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.functions
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  |  | ||||||
|  | function ssh_setup { | ||||||
|  | 	mkdir -p ~/.ssh | ||||||
|  | 	chmod 700 ~/.ssh | ||||||
|  | 	touch ~/.ssh/config | ||||||
|  | 	chmod 600 ~/.ssh/config | ||||||
|  | } | ||||||
|  |  | ||||||
|  | function ssh_key { | ||||||
|  | 	ssh-keygen -t ed25519 -C "${1?"Usage: $0 EMAIL"}" | ||||||
|  | } | ||||||
|  |  | ||||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -4,5 +4,6 @@ | |||||||
| !.gitignore | !.gitignore | ||||||
| !.aliases | !.aliases | ||||||
| !.exports | !.exports | ||||||
|  | !.functions | ||||||
| !.bashrc | !.bashrc | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user