zackargyle / react-bash

A configurable/extendable bash terminal React component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shouldn't the username of a machine should be the first part of the prefix?

r1cebank opened this issue · comments

Hi, thank you for the great library, I was just wondering when using whoami shouldn't it return the first part of the prefix because usually it is user@host?

settings: { user: { username: prefix.split('@')[1] } },