Skip to content

How to hide shell_command_before #538

@delucca

Description

@delucca

Step 1: Provide a summary of your problem

I want to execute some commands (with the shell_command_before option of my tmuxp file) but without those commands being shown on my shell.

The best thing that I could do was to put a clear command as the last, but the screen still blinks with my commands for some seconds.

Step 2: Provide tmuxp details

  • Python Version 3.8.0
  • Tmux version 3.0a
  • Tmuxp version 1.5.4

Step 3: Describe your environment

  • Architecture: Arch
  • OS version: Manjaro Architect

Step 4: Describe the problem:

Steps to reproduce:

Create the following tmuxp file:

session_name: sample
windows:
- window_name: main
  layout: tiled
  shell_command_before:
    - cd ~/
    - echo "ok"
    - clear

Them, load that tmuxp file

Observed Results:

You will notice that you can see, on the top, the commands on shell_command_before

Expected Results:

I would want to have a option that run those commands silently

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions