Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Considerese el uso de PS1 PS2 PS3 PS4 #2

Open
juusechec opened this issue Apr 17, 2018 · 1 comment
Open

Considerese el uso de PS1 PS2 PS3 PS4 #2

juusechec opened this issue Apr 17, 2018 · 1 comment

Comments

@juusechec
Copy link
Contributor

Por ejemplo:

# link: https://unix.stackexchange.com/questions/193659/in-which-situations-are-ps2-ps3-ps4-used-as-the-prompt/193660
# link: https://www.thegeekstuff.com/2008/09/bash-shell-ps1-10-examples-to-make-your-linux-prompt-like-angelina-jolie/
PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \! \$ '
@juusechec
Copy link
Contributor Author

O también:

# link: https://stackoverflow.com/questions/9200862/short-date-in-bash-ps1-prompt
PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \D{%H:%M:%S} \$ '

Estos podrían ser seleccionables mediante funciones qué se avisan en la instalación!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants