Commits

nakamura committed 068b005

use Vte.get_user_shell()

  • Participants
  • Parent commits fc2c232

Comments (0)

Files changed (1)

 
     def run_command(self, command=None):
         if command is None:
-            # TODO: use USER's login shell
-            command = '/bin/bash'
+            command = Vte.get_user_shell()
 
         # cwd
         working_directory = ''
 
     def open_terminal(self, command=None):
         if command is None:
-            # TODO: use login shell
-            command = '/bin/bash'
+            command = Vte.get_user_shell()
 
         t = TerminalFrame(command, self.config.terminal_size)
         self.add_terminal(t)