---
title: "命令行PS1"
author: "linshow26"
date: "2014-03-13T11:26:51Z"
tags: []
categories: ["操作系统"]
slug: "ps1"
draft: false
lastmod: "2014-03-13T11:26:51Z"
id: 2030381
url: "https://linshow26.iteye.com/blog/2030381"
---

PS1="${debian_chroot:+($debian_chroot)}\:\\w\]\$"
PS1="\0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"