Created
August 5, 2016 23:22
-
-
Save Julien00859/b2ca9364740da2918925190508609068 to your computer and use it in GitHub Desktop.
Mes hacks du registre windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash] | |
"Extended"="" | |
"NoWorkingDirectory"="" | |
@="Ouvrir bash ici" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash\command] | |
@="C:\\\\Windows\\\\system32\\\\bash.exe --init-file <(echo -n cd /mnt/; winpath=%V; echo \"${winpath,}\" | sed -r 's/[A-Z]/\\/\\0/g' | sed -r 's/\\://')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\powershell] | |
@="Ouvrir powershell ici" | |
"Extended"="" | |
"NoWorkingDirectory"="" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\powershell\command] | |
@="C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe -NoExit -Command Set-Location -LiteralPath '%V'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pour bash, c'est clairement un hack :p. Chaque nom de dossier doit commencer par une majuscule (et ne pas en avoir d'autres) pour fonctionner x)