mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	added special case for konsole
This commit is contained in:
		
							parent
							
								
									4f3d98bd3a
								
							
						
					
					
						commit
						891ddae854
					
				| @ -253,8 +253,11 @@ def create_actions(): | ||||
|         print "launch terminal '%s'" % defaults["terminal"] | ||||
|         if not os.fork(): | ||||
|             try: | ||||
|                 os.chdir(path) | ||||
|                 subprocess.Popen([defaults["terminal"]]).wait() | ||||
|                 if defaults["terminal"]=="konsole": | ||||
|                     subprocess.Popen([defaults["terminal"],"--workdir=%s"%path]).wait() | ||||
|                 else: | ||||
|                     os.chdir(path) | ||||
|                     subprocess.Popen([defaults["terminal"]]).wait() | ||||
|             except OSError: | ||||
|                 pass | ||||
|             sys.exit() | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user