summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-06-23 16:37:42 -0500
committerToby Vincent <tobyv13@gmail.com>2021-06-23 16:37:42 -0500
commit750af65537a54c02537118283961882651d9cba7 (patch)
tree05825c4e8d98c4ffb8101db1aaea511ebe3b24b9
parent3db9020f4d556d8b8cf04a339074a72a6a10b71f (diff)
feat: added symlinks from win to wsl
-rwxr-xr-xwsl.install9
-rw-r--r--wt.json69
2 files changed, 39 insertions, 39 deletions
diff --git a/wsl.install b/wsl.install
index 92aa168..0cfff20 100755
--- a/wsl.install
+++ b/wsl.install
@@ -1,9 +1,10 @@
#!/usr/bin/env bash
DOTFILES="$(dirname "$(readlink -fm "$0")")"
+WINHOME="$(wslpath "$(powershell.exe -NoProfile -c \$HOME)")"
force=1
-mkln() {
+function mkln() {
dirname="$(dirname $2)"
filename="$(basename $2)"
source=$(wslpath -w $DOTFILES/$1)
@@ -22,7 +23,7 @@ mkln() {
echo "linked $2 --> $1"
}
-show-warning() {
+function show-warning() {
gpgpath=$(wslpath -w "$(command -v gpg.exe)")
gitgpg=$(git.exe config --system --get gpg.program)
if [ "$gitgpg" = "$gpgpath" ]; then
@@ -37,6 +38,10 @@ show-warning() {
printf "\n"
}
+ln -sf $WINHOME ~/win
+ln -sf $WINHOME/Sync ~/win/sync
+ln -sf $WINHOME/siue ~/win/siue
+
mkln ssh/win.config ~/win/.ssh/config
mkln gitconfig ~/win/.gitconfig
mkln gnupg/gpg.conf ~/win/AppData/Roaming/gnupg/gpg.conf
diff --git a/wt.json b/wt.json
index c922892..afd0ab5 100644
--- a/wt.json
+++ b/wt.json
@@ -1,13 +1,6 @@
{
"$schema": "https://aka.ms/terminal-profiles-schema",
- "confirmCloseAllTabs": false,
- "defaultProfile": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}",
- "disabledProfileSources":
- [
- "Windows.Terminal.Azure"
- ],
- "experimental.rendering.forceFullRepaint": true,
- "keybindings":
+ "actions":
[
{
"command":
@@ -18,50 +11,41 @@
"keys": "ctrl+,"
},
{
- "command": "openSettings",
+ "command":
+ {
+ "action": "openSettings"
+ },
"keys": "ctrl+shift+,"
},
{
"command":
{
- "action": "openSettings",
- "target": "defaultsFile"
+ "action": "newTab"
},
- "keys": "ctrl+alt+,"
+ "keys": "ctrl+t"
},
{
- "command": "newTab",
- "keys":
- [
- "ctrl+t"
- ]
+ "command": "paste",
+ "keys": "ctrl+v"
},
{
- "command": "closeTab",
- "keys":
- [
- "ctrl+w"
- ]
+ "command":
+ {
+ "action": "openSettings",
+ "target": "defaultsFile"
+ },
+ "keys": "ctrl+alt+,"
},
{
"command": "find",
- "keys":
- [
- "ctrl+f"
- ]
+ "keys": "ctrl+f"
},
{
- "command": "paste",
- "keys":
- [
- "ctrl+v"
- ]
+ "command": "closeTab",
+ "keys": "ctrl+w"
},
{
- "command":
- {
- "action": "toggleFocusMode"
- },
+ "command": "toggleFocusMode",
"keys": "ctrl+b"
},
{
@@ -72,13 +56,24 @@
"keys": "f1"
}
],
+ "confirmCloseAllTabs": false,
+ "defaultProfile": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}",
+ "disabledProfileSources":
+ [
+ "Windows.Terminal.Azure"
+ ],
+ "experimental.rendering.forceFullRepaint": true,
"multiLinePasteWarning": false,
"profiles":
{
"defaults":
{
- "acrylicOpacity": 0.8,
- "bellStyle": "visual",
+ "acrylicOpacity": 0.80000000000000004,
+ "bellStyle":
+ [
+ "window",
+ "taskbar"
+ ],
"closeOnExit": "always",
"colorScheme": "vscode-dark",
"cursorColor": "#D4D4D4",