Syntax fix
This commit is contained in:
parent
330274bbc0
commit
5a5eb83345
@ -264,7 +264,7 @@ _ps1bash() {
|
|||||||
# Add hostname prefix in SSH sessions
|
# Add hostname prefix in SSH sessions
|
||||||
unset _prefix
|
unset _prefix
|
||||||
# Get the system hostname
|
# Get the system hostname
|
||||||
if [ -f /etc/hostname ]
|
if [ -f /etc/hostname ]; then
|
||||||
_hostname="$(</etc/hostname)"
|
_hostname="$(</etc/hostname)"
|
||||||
else
|
else
|
||||||
_hostname="$(hostname)"
|
_hostname="$(hostname)"
|
||||||
|
Loading…
Reference in New Issue
Block a user