Skip to content

Add PS4 variable to host #86

Open
Open

Description

@corentincarton

Is your feature request related to a problem? Please describe.

A very useful thing would be to add a PS4 variable to improve logging and display the time together with the line of the script. For instance:

export PS4="[ \D{%Y-%m-%dT%H:%M:%S} | L$LINENO ] --> "
 
set -TEexuva -o pipefail +v

Thanks @vandome for the suggestion!

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Organisation

No response

Activity

  1. added
    enhancement
    on Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions