Git Product home page Git Product logo

Comments (5)

CarterLi avatar CarterLi commented on June 24, 2024 1

I login to a host the Terminal is shown as tmux

It's expected when you run fastfetch inside tmux

I sudo to root the Terminal changes to sudo

I can't reproduce it. I got Terminal: tmux when I ran sudo fastfetch inside tmux. The tmux version was lost because you lost environment variables when running fastfetch with sudo, which is also expected.

from fastfetch.

daniejstriata avatar daniejstriata commented on June 24, 2024

I realise what I'm saying is that the terminal id being used by the session is lost. Which is also the output of tty:
image
Can the Terminal output not be:
tty + NULL
or
tty + sudo
or
tty + tmux

It could be presented as:

Terminal: sudo on /dev/pts/2

if not in sudo or tmux

Terminal: /dev/pts/2

if in tmux

Terminal: tmux on /dev/pts/2

from fastfetch.

CarterLi avatar CarterLi commented on June 24, 2024

You may use fastfetch -s terminal --terminal-format '{5} {6} on {8}'

from fastfetch.

daniejstriata avatar daniejstriata commented on June 24, 2024

@CarterLi Can this display not be the default as both are correct together and either are less correct on their own?

from fastfetch.

CarterLi avatar CarterLi commented on June 24, 2024

I don't get it. Please file a new feature request and describe what you want.

from fastfetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.