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