summaryrefslogtreecommitdiffstatshomepage
path: root/wsl
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-07-18 14:23:21 -0500
committerToby Vincent <tobyv13@gmail.com>2022-07-18 14:23:21 -0500
commit05b63982b67d634465bb0f533889fd152d3e5f0a (patch)
treef973c292fa9b90462d6af6bface8562963b339b2 /wsl
parent4f1ea19457554299938554f6598f9d0e2eee91a5 (diff)
feat(wsl): add wezterm to wsl-installer
Diffstat (limited to 'wsl')
-rwxr-xr-xwsl/.local/bin/wsl-installer.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/wsl/.local/bin/wsl-installer.sh b/wsl/.local/bin/wsl-installer.sh
index 0229a35..23273d0 100755
--- a/wsl/.local/bin/wsl-installer.sh
+++ b/wsl/.local/bin/wsl-installer.sh
@@ -18,6 +18,7 @@ mkln.sh "$@" "$HOME"/.gitconfig "${WINHOME}"/.gitconfig
mkln.sh "$@" "$HOME"/.gnupg/gpg.conf "${WINHOME}"/AppData/Roaming/gnupg/gpg.conf
mkln.sh "$@" "$HOME"/.gnupg/gpg-agent.conf "${WINHOME}"/AppData/Roaming/gnupg/gpg-agent.conf
mkln.sh "$@" "$HOME"/.gnupg/scdaemon.conf "${WINHOME}"/AppData/Roaming/gnupg/scdaemon.conf
+mkln.sh "$@" "$HOME"/.config/wezterm/wezterm.lua "${WINHOME}"/.config/wezterm/wezterm.lua
mkln.sh "$@" "$HOME"/.config/alacritty/alacritty.yml "${WINHOME}"/AppData/Roaming/alacritty/alacritty.yml
for f in "$HOME"/.config/alacritty/*; do
@@ -39,7 +40,7 @@ chmod +x "${HOME}"/.local/bin/xclip
chmod +x "${HOME}"/.local/bin/xsel
# https://github.com/wslutilities/wslu
-command -v wslview >&/dev/null || cat <<-EOF
+command -v wslview >/dev/null 2>&1 || cat <<-EOF
wslu is not installed.
wslu (wslview) is needed to open browser windows from linux commands.
install instructions: https://github.com/wslutilities/wslu#installation