User Tools

Site Tools


linux:bash:prompt-on-newline

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:bash:prompt-on-newline [2024/11/19 19:13] – created riklinux:bash:prompt-on-newline [2024/11/27 21:13] (current) rik
Line 7: Line 7:
 Try it pasting this in a terminal Try it pasting this in a terminal
 <code bash> <code bash>
-export PS1="┌──(\u@\h)-[\[\w\]]     +export PS1="┌──(\u@\h)-[\[\w\]]
 └─\$ " └─\$ "
 </code> </code>
Line 18: Line 18:
 adding at the end of the file adding at the end of the file
 <code bash> <code bash>
-PS1="┌──(\u@\h)-[\[\w\]]     +PS1="┌──(\u@\h)-[\[\w\]]
 └─\$ " └─\$ "
 </code> </code>
 (I don't care about colors) (I don't care about colors)
linux/bash/prompt-on-newline.txt · Last modified: 2024/11/27 21:13 by rik