Skip to content

Add tmux command and nmtui inherit#577

Open
iwotylus wants to merge 2 commits intoGTFOBins:masterfrom
iwotylus:add-tmux-command-and-nmtui
Open

Add tmux command and nmtui inherit#577
iwotylus wants to merge 2 commits intoGTFOBins:masterfrom
iwotylus:add-tmux-command-and-nmtui

Conversation

@iwotylus
Copy link
Copy Markdown

tmux command

tmux loads a config file from ~/.tmux.conf, $XDG_CONFIG_HOME/tmux/tmux.conf, or a path specified via -f.
The run-shell directive in the config executes arbitrary commands. Three variants are documented: explicit -f flag, overriding HOME, and overriding XDG_CONFIG_HOME.

nmtui inherit

nmtui can invoke an editor (controlled via $EDITOR or $VISUAL, with VISUAL taking precedence) to edit JSON configuration for a team connection. This launches specified editor, therefore, inherits vi's shell escape techniques (e.g. :!/bin/bash). Navigate to "Edit a connection" -> "Add" -> "Team" -> "Edit" under JSON configuration to open the editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant