File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -69,14 +69,10 @@ def execute (self):
69
69
p = self .fm .execute_command (cmd + ' 2>&1 | less +G' , universal_newlines = True )
70
70
stdout , stderr = p .communicate ()
71
71
else :
72
- if mode == '-I' :
73
- os .environ ['_ZL_FZF_HEIGHT' ] = '0'
74
- path = subprocess .check_output ([PATH_LUA , PATH_ZLUA , '--cd' ] + args )
75
- self .fm .execute_console ('redraw_window' )
76
- else :
77
- p = self .fm .execute_command (cmd , universal_newlines = True , stdout = subprocess .PIPE )
78
- stdout , stderr = p .communicate ()
79
- path = stdout .rstrip ('\n ' )
72
+ p = self .fm .execute_command (cmd , universal_newlines = True , stdout = subprocess .PIPE )
73
+ stdout , stderr = p .communicate ()
74
+ path = stdout .rstrip ('\n ' )
75
+ self .fm .execute_console ('redraw_window' )
80
76
if path and os .path .exists (path ):
81
77
self .fm .cd (path )
82
78
else :
You can’t perform that action at this time.
0 commit comments