Horje
shorten terminal prompt linux Code Example
shorten terminal prompt linux
if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi

// Replace Above code with Following Code in ~/.bashrc

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ '
fi




Shell

Related
how to do copy all using cp command in linux Code Example how to do copy all using cp command in linux Code Example
how to uninstall i7z on ubuntu Code Example how to uninstall i7z on ubuntu Code Example
manjaro set to never sleep Code Example manjaro set to never sleep Code Example
proxmox linux type Code Example proxmox linux type Code Example
activate debug bash Code Example activate debug bash Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10