Commit e1f5866b authored by Jørn Åne's avatar Jørn Åne

Show whole hostname in bash

parent 433948a7
......@@ -45,5 +45,4 @@ if [ "$PS1" ]; then
b_prompt='$ '
fi
fi
PS1="\n${c_reset}${c_user}\u${c_reset}@${c_host}\H${c_reset}:${c_path}\w${c_reset}\n${b_prompt}"
PS1="\n${c_reset}${c_user}\u${c_reset}@${c_host}$(hostname -f)${c_reset}:${c_path}\w${c_reset}\n${b_prompt}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment