Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
| Ambdós costats versió prèvia Revisió prèvia Següent revisió | Revisió prèvia |
| linux:bash:ps1 [04/09/2018 02:25] – [simples] mate | linux:bash:ps1 [04/09/2018 05:59] (actual) – mate |
|---|
| </code> | </code> |
| |
| {{:misproyectos:clitools:pasted:20171207-160640.png}} | {{:linux:bash:ps1:20171207-160640.png}} |
| <code bash> | <code bash> |
| export PS1="\[$(tput sgr0)\]\033[38;5;15m\033[38;5;11m\u\[$(tput sgr0)\]\033[38;5;15m\033[38;5;15m@\[$(tput sgr0)\]\033[38;5;15m\033[38;5;11m\h\[$(tput sgr0)\]\033[38;5;15m\033[38;5;15m:\[$(tput sgr0)\]\033[38;5;15m\033[38;5;2m\w\[$(tput sgr0)\]\033[38;5;15m\033[38;5;15m\n\[$(tput sgr0)\]\\$\[$(tput sgr0)\] \[$(tput sgr0)\]" | export PS1="\[$(tput sgr0)\]\033[38;5;15m\033[38;5;11m\u\[$(tput sgr0)\]\033[38;5;15m\033[38;5;15m@\[$(tput sgr0)\]\033[38;5;15m\033[38;5;11m\h\[$(tput sgr0)\]\033[38;5;15m\033[38;5;15m:\[$(tput sgr0)\]\033[38;5;15m\033[38;5;2m\w\[$(tput sgr0)\]\033[38;5;15m\033[38;5;15m\n\[$(tput sgr0)\]\\$\[$(tput sgr0)\] \[$(tput sgr0)\]" |
| |
| == soporte GIT | == soporte GIT |
| {{tag>pendiente wiki}} | |
| /vía: [[https://stackoverflow.com/questions/4133904/ps1-line-with-git-current-branch-and-colors]] | /vía: [[https://stackoverflow.com/questions/4133904/ps1-line-with-git-current-branch-and-colors]] |
| <code bash> | <code bash> |