diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-06-25 21:28:02 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-06-26 13:29:46 +0200 |
| commit | c00aafd16c4ea72cda0297e94f76153ecf2682ac (patch) | |
| tree | e8259bdedfc63f98af5bc86ed542e8c614eb3708 /conf.d | |
| parent | 4d31217b47a813ac3ddb495e82736b9448fe1feb (diff) | |
| download | c-star-c00aafd16c4ea72cda0297e94f76153ecf2682ac.tar.gz | |
Use fish builtin prompt_hostname instead of the corresponding program
Diffstat (limited to 'conf.d')
| -rw-r--r-- | conf.d/cstar.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/cstar.fish b/conf.d/cstar.fish index 6ca5a6b..9a09ebd 100644 --- a/conf.d/cstar.fish +++ b/conf.d/cstar.fish @@ -134,7 +134,7 @@ end function cstar_user --on-variable __fish_initialized set -l user_string (whoami) if test -n "$SSH_CONNECTION" - set -f user_string "$user_string@$(hostname)" + set -f user_string "$user_string@$(prompt_hostname)" end cstar_colorize cstar_user "$user_string" $cstar_user_bg $cstar_user_fg end |