diff --git a/roles/home-cli/files/profile b/roles/home-cli/files/profile index 7968eb6..59ba130 100644 --- a/roles/home-cli/files/profile +++ b/roles/home-cli/files/profile @@ -81,7 +81,7 @@ unset _flatpak_xdg_path # Basic exports. export HISTFILE="" -export PS1="$(id -un)@$(hostname -s)\$ " +export PS1="$(id -un)@$(hostname | sed 's/\..*//')\$ " export TIME_STYLE=long-iso # Used by GNU 'ls'. # Bash-specific settings that will not work in other Bourne-compatible shells.