Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jørn Åne de Jong
dotfiles
Commits
e1f5866b
Commit
e1f5866b
authored
Jan 30, 2018
by
Jørn Åne
Browse files
Show whole hostname in bash
parent
433948a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
dot.bashrc
View file @
e1f5866b
...
...
@@ -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}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment