aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hostname
blob: 258fbd80dd4145d436b6be171fcf9e83375f6645 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# Prints USER@hostname

PREFIX='💻 '

get_hostname()
{
    echo "$PREFIX$USER@$(hostname)"
}

get_hostname