mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
speed up hostname with -s instead of grep
This commit is contained in:
parent
d5579e3de0
commit
e7cce60324
1 changed files with 1 additions and 1 deletions
|
@ -17,4 +17,4 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
hostname | sed 's/\..*$//'
|
hostname -s
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue