Revision history of "Linux - A better .bashrc for root"

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 15:39, 16 May 2022Tinker talk contribs 1,850 bytes +58
  • curprev 15:38, 16 May 2022Tinker talk contribs 1,792 bytes −313
  • curprev 15:31, 16 May 2022Tinker talk contribs 2,105 bytes +2,105 Created page with "<span ><code class="mwt-code" ></code></span> # ~/.bashrc: executed by bash(1) for non-login shells. <span ><code class="mwt-code" ></code></span> <br>PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' <span ><code class="mwt-code" ></code></span> <br># If this is an xterm set the title to user@host:dir<br>case "$TERM" in<br>xterm*{{!}}rxvt*)<br>    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h:..."