Skip to content

Commit

Permalink
Use Windows Terminal on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed Apr 21, 2021
1 parent 8b1e8a3 commit 6d2d183
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ yay -S ripgrep nerd-fonts-fira-code xkb-switch lua-language-server clang lua-for

```bash
scoop bucket add nerd-fonts
sudo scoop install -g ripgrep llvm FiraCode-NF
scoop bucket add extras
sudo scoop install -g ripgrep llvm FiraCode-NF windows-terminal
```

Windows-version of xkb-switch should be downloaded manually:
Expand Down
2 changes: 1 addition & 1 deletion lua/utils/gtfo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function M.open_terminal(path)
if vim.fn.has('unix') == 1 then
vim.fn.system('konsole --separate --workdir ' .. vim.fn.shellescape(path) .. ' &')
else
vim.fn.system('start /D "' .. vim.fn.shellescape(path) .. '" powershell')
vim.fn.system('wt -d ' .. vim.fn.shellescape(path))
end
end

Expand Down

0 comments on commit 6d2d183

Please sign in to comment.