Compare commits

...

2 commits

Author SHA1 Message Date
659f466ea0 Run gnome-terminal profile 2024-10-21 11:44:14 +01:00
241fb25409 Manually get the short hostname
GNU Coreutils 'hostname' does not support the -s flag.
2024-10-11 19:51:46 +01:00
2 changed files with 2 additions and 3 deletions

View file

@ -81,7 +81,7 @@ unset _flatpak_xdg_path
# Basic exports. # Basic exports.
export HISTFILE="" export HISTFILE=""
export PS1="$(id -un)@$(hostname -s)\$ " export PS1="$(id -un)@$(hostname | sed 's/\..*//')\$ "
export TIME_STYLE=long-iso # Used by GNU 'ls'. export TIME_STYLE=long-iso # Used by GNU 'ls'.
# Bash-specific settings that will not work in other Bourne-compatible shells. # Bash-specific settings that will not work in other Bourne-compatible shells.

View file

@ -1,8 +1,7 @@
[Desktop Entry] [Desktop Entry]
Name=Microsoft PowerShell Name=Microsoft PowerShell
TryExec=/home/acp/.dotnet/tools/pwsh TryExec=/home/acp/.dotnet/tools/pwsh
Exec=/home/acp/.dotnet/tools/pwsh Exec=gnome-terminal --profile=PowerShell
Type=Application Type=Application
Icon=pwsh Icon=pwsh
Terminal=true
StartupNotify=true StartupNotify=true