16 lines
447 B
Markdown
16 lines
447 B
Markdown
# Astuces SHell
|
|
|
|
## Shell -> HTML
|
|
|
|
~~~
|
|
# apt install aha
|
|
$ script-foo-colors | aha > output.html
|
|
~~~
|
|
|
|
## Initialisation du shell
|
|
|
|
Entre les 3 modes ("login", "interactive non-login" et "non-interactive non-login") il y a de quoi se perdre à propos des fichiers chargés. Voici un rappel assez complet : <https://github.com/rbenv/rbenv/wiki/Unix-shell-initialization>
|
|
|
|
## Script shell
|
|
|
|
Style guide : <https://google.github.io/styleguide/shell.xml> |