]> arthur.barton.de Git - ax-zsh.git/commit
30_hostname: Use hostnamectl(1) to get the "short" name when available
authorAlexander Barton <alex@barton.de>
Sun, 12 Mar 2017 16:32:03 +0000 (17:32 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 12 Mar 2017 16:32:03 +0000 (17:32 +0100)
commit24458f4c9354a5191a2a21950e39a51139f1b619
tree509494fb1e71c922e1d67045a105950be86db9db
parentcb70689efe8497109a00affdbca61dd9041af587
30_hostname: Use hostnamectl(1) to get the "short" name when available

And don't test for the system type but the scutil(8) and hostnamectl(1)
command itself.
core/30_hostname/30_hostname.zprofile