X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/1e0b3449d6ffbf89d4e0f5c7ed5efa030d74079e..2bbac58c0972e72d345739638b8d1e2dfd5ca76f:/dot/shell-rc diff --git a/dot/shell-rc b/dot/shell-rc index e29ac37..67ad457 100644 --- a/dot/shell-rc +++ b/dot/shell-rc @@ -61,7 +61,8 @@ __mdw_runhook () { ###-------------------------------------------------------------------------- ### Prompt machinery. -__mdw_set_prompt_hacks () { host=$(hostname); dir=""; } +__mdw_host=$(hostname) +__mdw_set_prompt_hacks () { host=$__mdw_host; dir=""; } __mdw_set_prompt_pieces () { local hqual