Configure WSL Path Variables in cmd
(reference)
setx WSLENV "USERPROFILE/p"
https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration
https://help.github.com/articles/connecting-to-github-with-ssh/
{
"diffEditor.ignoreTrimWhitespace": true,
"editor.acceptSuggestionOnEnter": "off",
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"editor.minimap.maxColumn": 40,
"editor.minimap.renderCharacters": false,
"editor.minimap.showSlider": "always",
"editor.renderIndentGuides": true,
"editor.tabSize": 2,
"emmet.showExpandedAbbreviation": "never",
"explorer.openEditors.visible": 0,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"files.hotExit": "onExitAndWindowClose",
"terminal.integrated.shell.windows": "wsl.exe",
"terminal.integrated.fontFamily": "Fira Code",
"window.menuBarVisibility": "toggle",
"window.restoreFullscreen": true,
"window.restoreWindows": "all",
"workbench.colorTheme": "Material Theme Darker High Contrast",
"gitlens.blame.avatars": false,
"gitlens.blame.format": "${id|7}",
"gitlens.blame.highlight.locations": [],
"gitlens.blame.ignoreWhitespace": true,
"gitlens.codeLens.enabled": false,
"gitlens.currentLine.enabled": false,
"gitlens.gitExplorer.location": "scm",
"gitlens.heatmap.toggleMode": "window",
"gitlens.historyExplorer.location": "scm",
"gitlens.hovers.enabled": false,
"gitlens.menus": false,
"gitlens.resultsExplorer.location": "scm",
"gitlens.statusBar.alignment": "left",
"gitlens.statusBar.format": "${message} (${authorAgoOrDate})",
"gitlens.statusBar.reduceFlicker": true
}
https://docs.microsoft.com/en-us/windows/wsl/initialize-distro
Create /etc/wsl.conf
(reference)
[automount]
options = "metadata,umask=2"
ln -s $USERPROFILE/Workspaces ~/local
ln -s $USERPROFILE/.gitconfig ~/.gitconfig
ln -s $USERPROFILE/.ssh ~/.ssh
https://fishshell.com/
https://fishshell.com/docs/current/faq.html#faq-default
thefuck --alias | source
Update:
etc/wsl.conf
should have themetadata
option removed