mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Merge pull request #1071 from jkutner/add_session_lang
Added ShellSession language
This commit is contained in:
		| @@ -1707,6 +1707,11 @@ Shell: | |||||||
|   filenames: |   filenames: | ||||||
|   - Dockerfile |   - Dockerfile | ||||||
|  |  | ||||||
|  | ShellSession: | ||||||
|  |   type: programming | ||||||
|  |   lexer: Bash Session | ||||||
|  |   primary_extension: .sh-session | ||||||
|  |  | ||||||
| Shen: | Shen: | ||||||
|   type: programming |   type: programming | ||||||
|   color: "#120F14" |   color: "#120F14" | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								samples/ShellSession/dollar.sh-session
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								samples/ShellSession/dollar.sh-session
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | $ echo $FOOBAR | ||||||
|  | Hello World! | ||||||
							
								
								
									
										47
									
								
								samples/ShellSession/gem-install.sh-session
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								samples/ShellSession/gem-install.sh-session
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,47 @@ | |||||||
|  | $ gem install nokogiri | ||||||
|  | ... | ||||||
|  | Building native extensions. This could take a while... | ||||||
|  | ... | ||||||
|  | checking for libxml/parser.h... *** extconf.rb failed *** | ||||||
|  | Could not create Makefile due to some reason, probably lack of | ||||||
|  | necessary libraries and/or headers. Check the mkmf.log file for more | ||||||
|  | details. You may need configuration options. | ||||||
|  | ... | ||||||
|  |   | ||||||
|  | $ brew tap homebrew/dupes | ||||||
|  | Cloning into '/usr/local/Library/Taps/homebrew-dupes'... | ||||||
|  | remote: Counting objects: 1034, done. | ||||||
|  | remote: Compressing objects: 100% (591/591), done. | ||||||
|  | remote: Total 1034 (delta 560), reused 898 (delta 443) | ||||||
|  | Receiving objects: 100% (1034/1034), 192.53 KiB | 0 bytes/s, done. | ||||||
|  | Resolving deltas: 100% (560/560), done. | ||||||
|  | Checking connectivity... done | ||||||
|  | Warning: Could not tap homebrew/dupes/lsof over mxcl/master/lsof | ||||||
|  | Tapped 41 formula | ||||||
|  |   | ||||||
|  | $ brew install apple-gcc42 | ||||||
|  | ==> Downloading http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg | ||||||
|  | ######################################################################## 100.0% | ||||||
|  | ==> Caveats | ||||||
|  | NOTE: | ||||||
|  | This formula provides components that were removed from XCode in the 4.2 | ||||||
|  | release. There is no reason to install this formula if you are using a | ||||||
|  | version of XCode prior to 4.2. | ||||||
|  |   | ||||||
|  | This formula contains compilers built from Apple's GCC sources, build | ||||||
|  | 5666.3, available from: | ||||||
|  |   | ||||||
|  | http://opensource.apple.com/tarballs/gcc | ||||||
|  |   | ||||||
|  | All compilers have a `-4.2` suffix. A GFortran compiler is also included. | ||||||
|  | ==> Summary | ||||||
|  | 🍺 /usr/local/Cellar/apple-gcc42/4.2.1-5666.3: 104 files, 75M, built in 11 seconds | ||||||
|  |   | ||||||
|  | $ gem install nokogiri -v 1.5.10 | ||||||
|  | Fetching: nokogiri-1.5.10.gem (100%) | ||||||
|  | Building native extensions. This could take a while... | ||||||
|  | Successfully installed nokogiri-1.5.10 | ||||||
|  | 1 gem installed | ||||||
|  | Installing ri documentation for nokogiri-1.5.10... | ||||||
|  | Installing RDoc documentation for nokogiri-1.5.10... | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								samples/ShellSession/simple.sh-session
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								samples/ShellSession/simple.sh-session
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | > echo $FOOBAR | ||||||
|  | Hello World! | ||||||
		Reference in New Issue
	
	Block a user