up logging of generation

This commit is contained in:
Tykayn 2025-02-23 19:12:15 +01:00 committed by tykayn
parent fa8636185d
commit ce6eb680b7
23 changed files with 340 additions and 374 deletions

View file

@ -37,8 +37,10 @@ mettre de la couleur dans votre console.
Essayez donc de mettre cette commande d'export à la fin de votre
.bashrc, et de relancer bash.
=$ nano ~/.bashrc==# titre du terminal personnaliséPROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'# prompt personnaliséexport PS1="\[\033[38;5;214m\]\T\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;192m\]\u\[$(tput sgr0)\]\[\033[38;5;42m\]@\[$(tput sgr0)\]\[\033[38;5;84m\]\h\[$(tput sgr0)\]\[\033[38;5;70m\]:\[$(tput sgr0)\]\[\033[38;5;6m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"=
#+begin_src bash
=$ nano ~/.bashrc==# titre du terminal personnalisé
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'# prompt personnaliséexport PS1="\[\033[38;5;214m\]\T\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;192m\]\u\[$(tput sgr0)\]\[\033[38;5;42m\]@\[$(tput sgr0)\]\[\033[38;5;84m\]\h\[$(tput sgr0)\]\[\033[38;5;70m\]:\[$(tput sgr0)\]\[\033[38;5;6m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"=
#+end_src
on enregistre avec ctrl +o, on sort avec ctrl + x. et hop!
@ -49,7 +51,6 @@ et vouala:
#+begin_quote
<<preview>>
02:23:52tykay@mycomputer:/usr/local/src
#+end_quote