15-09-2021
This commit is contained in:
@@ -37,5 +37,7 @@ Désinstaller un module:
|
||||
|
||||
```powershell
|
||||
❯ Uninstall-Module -Name posh-git
|
||||
|
||||
❯ Uninstall-Module posh-git -Force -Verbose
|
||||
```
|
||||
|
||||
|
||||
@@ -1,27 +1,31 @@
|
||||
# Trucs
|
||||
|
||||
Ouvrir Windows Terminal en 3 panneaux:
|
||||
#### Ouvrir Windows Terminal en 3 panneaux:
|
||||
|
||||
```powershell
|
||||
wt -p "Debian" `; split-pane -p "PowerShell 7" `; split-pane -p "Invite de commandes"
|
||||
```
|
||||
|
||||
Ouvrir en 3 onglets dans Windows Terminal:
|
||||
#### Ouvrir en 3 onglets dans Windows Terminal:
|
||||
|
||||
```powershell
|
||||
wt -p "Debian" `; new-tab -p "PowerShell 7" `; new-tab -p "Invite de commandes"
|
||||
```
|
||||
|
||||
Palette de commande:
|
||||
#### Palette de commande:
|
||||
|
||||
`Ctrl + Shift + P`
|
||||
|
||||
Thèmes:
|
||||
#### Thèmes:
|
||||
|
||||
https://docs.microsoft.com/en-us/windows/terminal/tutorials/powerline-setup
|
||||
|
||||
https://ohmyposh.dev/docs/
|
||||
|
||||
#### Ne pas afficher de messages au lancement de PowerShell:
|
||||
|
||||
Lancer avec l'option --nolog: `powerShell.exe --nolog`
|
||||
|
||||
|
||||
|
||||
#### Ouvrir une nouvelle fenêtre Powershell en administrateur:
|
||||
|
||||
@@ -275,10 +275,18 @@ https://korben.info/linux-wsl-gui-interface-graphique-windows-10.html
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
sudo apt install python3 python3-pip ipython3
|
||||
#### Installer un X11-server:
|
||||
|
||||
```powershell
|
||||
choco install vcxsrv
|
||||
```
|
||||
|
||||
Ajouter au `.bashrc` ou `.zshrc`:
|
||||
|
||||
`export DISPLAY=:0`
|
||||
|
||||
Installer gvim (sudo apt-get install gvim) pour tester.
|
||||
|
||||
|
||||
|
||||
#### Navigation dans les dossiers/fichiers:
|
||||
|
||||
@@ -376,6 +376,18 @@ $ uname --release
|
||||
|
||||
|
||||
|
||||
#### Windows Toolbar Launcher:
|
||||
|
||||
https://github.com/cascadium/wsl-windows-toolbar-launcher
|
||||
|
||||
```bash
|
||||
2021-08-31 13:13:54,707[INFO]: Finished creating 25 shortcuts!
|
||||
2021-08-31 13:13:54,708[INFO]: Before raising an issue, make sure you have Xming / X410 etc set up in your .bashrc.
|
||||
2021-08-31 13:13:54,708[INFO]: Right click on the toolbar, then select Toolbars -> New toolbar... and select the directory '/mnt/c/Users/bruno/.config/wsl-windows-toolbar-launcher/menus/WSL'.
|
||||
```
|
||||
|
||||
|
||||
|
||||
https://opticos.github.io/openinwsl/
|
||||
|
||||
https://opticos.github.io/gwsl/
|
||||
|
||||
Reference in New Issue
Block a user