mirror of
				https://git.coolaj86.com/coolaj86/telebit.js.git
				synced 2025-11-03 10:12:46 +00:00 
			
		
		
		
	use nano as fallback editor
This commit is contained in:
		
							parent
							
								
									cb6d7497f8
								
							
						
					
					
						commit
						9a6c3d36f9
					
				@ -66,6 +66,9 @@ fi
 | 
			
		||||
if [ -z "$my_edit" ]; then
 | 
			
		||||
  my_edit=$(basename "$(type -p vi)")
 | 
			
		||||
fi
 | 
			
		||||
if [ -z "$my_edit" ]; then
 | 
			
		||||
  my_edit="nano"
 | 
			
		||||
fi
 | 
			
		||||
set -e
 | 
			
		||||
 | 
			
		||||
if [ "root" == $(whoami) ] || [ 0 == $(id -u) ]; then
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user