Add trap SIGINT
This commit is contained in:
		
							parent
							
								
									be62c800bd
								
							
						
					
					
						commit
						6d8da1abcd
					
				
							
								
								
									
										1
									
								
								a
								
								
								
								
							
							
						
						
									
										1
									
								
								a
								
								
								
								
							| 
						 | 
					@ -1,5 +1,6 @@
 | 
				
			||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
set -e
 | 
					set -e
 | 
				
			||||||
 | 
					trap 'clear' SIGINT
 | 
				
			||||||
cat > /tmp/.dialogrc << EOL
 | 
					cat > /tmp/.dialogrc << EOL
 | 
				
			||||||
# Item color
 | 
					# Item color
 | 
				
			||||||
tag_color = (BLACK,WHITE,ON)
 | 
					tag_color = (BLACK,WHITE,ON)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								g
								
								
								
								
							
							
						
						
									
										1
									
								
								g
								
								
								
								
							| 
						 | 
					@ -1,5 +1,6 @@
 | 
				
			||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
set -e
 | 
					set -e
 | 
				
			||||||
 | 
					trap 'clear' SIGINT
 | 
				
			||||||
cat > /tmp/.dialogrc << EOL
 | 
					cat > /tmp/.dialogrc << EOL
 | 
				
			||||||
# Item color
 | 
					# Item color
 | 
				
			||||||
tag_color = (BLACK,WHITE,ON)
 | 
					tag_color = (BLACK,WHITE,ON)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								r
								
								
								
								
							
							
						
						
									
										1
									
								
								r
								
								
								
								
							| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					trap 'clear' SIGINT
 | 
				
			||||||
setxkbmap
 | 
					setxkbmap
 | 
				
			||||||
cat ~/.aliases.txt | fzf | cut -d : -f 2- | xargs -I _ xdotool type  _
 | 
					cat ~/.aliases.txt | fzf | cut -d : -f 2- | xargs -I _ xdotool type  _
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue