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):
6969 p = self .fm .execute_command (cmd + ' 2>&1 | less +G' , universal_newlines = True )
7070 stdout , stderr = p .communicate ()
7171 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' )
8076 if path and os .path .exists (path ):
8177 self .fm .cd (path )
8278 else :
You can’t perform that action at this time.
0 commit comments