Skip to content

Matching terminal doesn't seem to work correctly #17

@LuckyType

Description

@LuckyType

I have guake installed, your switch clause within function __tab.term_program needs correction i think.

Within Guake:

➜ tab
fish: Unknown command: gnome-terminal
~/.local/share/omf/pkg/tab/functions/tab.gnome_terminal.fish (line 2): 
  gnome-terminal --tab --working-directory "$cdto"
  ^
in function 'tab.gnome_terminal' with arguments '/home/patrik/workspace/nippon2.0 ""'
	called on line 98 of file ~/.local/share/omf/pkg/tab/functions/tab.fish
in function 'tab'
echo "$TERM_PROGRAM"
# emptyecho $VTE_VERSION
5402
➜ echo $COLORTERM
truecolor
➜ echo $GUAKE_TAB_UUID
# empty

Maybe try to get the terminal emulator using the pid?

ps -p %self -o ppid=
2641
➜ ps -p 2641 -o args=
/usr/bin/python3 /usr/bin/guake
➜ guake --version
Guake Terminal: 3.4.0
VTE: 0.54.2
VTE runtime: 0.54.2
Gtk: 3.24.5
➜ fish --version
fish, version 3.1.2

I would really appreciate to use this plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions