From 972bca253f06102a6ef3fc8fa2bd070c9bff930f Mon Sep 17 00:00:00 2001 From: qwjyh Date: Tue, 18 Oct 2022 17:53:45 +0900 Subject: [PATCH 1/2] add: pwsh: npm completion --- bin/install.ps1 | 3 +++ dotfiles/pwsh/powershell_profile.ps1 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bin/install.ps1 b/bin/install.ps1 index 87905bd..5459e75 100644 --- a/bin/install.ps1 +++ b/bin/install.ps1 @@ -33,6 +33,8 @@ Write-Output "Latest PSReadLine" Install-Module -Name PSReadLine -Force # Override default version to get the latest one Write-Output "CompletionPredictor" Install-Module -Name CompletionPredictor +Write-Output "npm" +Install-Module -Name npm-completion @@ -52,6 +54,7 @@ scoop import .\bin\scoop_apps\scoop_minimal_apps.json New-Item -ItemType SymbolicLink -Path ~\AppData\Local\nvim\init.lua -Target (Resolve-Path .\dotfiles\neovim\init.lua) -Force New-Item -ItemType SymbolicLink -Path ~\AppData\Local\nvim\lua\plugins.lua -Target (Resolve-Path .\dotfiles\neovim\lua\plugins.lua) -Force New-Item -ItemType SymbolicLink -Path ~\AppData\Local\nvim\lua\lualine_setup.lua -Target (Resolve-Path .\dotfiles\neovim\lua\lualine_setup.lua) -Force +New-Item -ItemType SymbolicLink -Path ~\AppData\Local\nvim\lua\lsp_client_config.lua -Target (Resolve-Path .\dotfiles\neovim\lua\lsp_client_config.lua) -Force # pwsh New-Item -ItemType SymbolicLink -Path $PROFILE -Target (Resolve-Path .\dotfiles\pwsh\powershell_profile.ps1) -Force New-Item -ItemType SymbolicLink -Path ~\.config\powershell\chezmoi_completion.ps1 -Target (Resolve-Path .\dotfiles\pwsh\chezmoi_completion.ps1) -Force diff --git a/dotfiles/pwsh/powershell_profile.ps1 b/dotfiles/pwsh/powershell_profile.ps1 index 49d3111..45f5dbd 100644 --- a/dotfiles/pwsh/powershell_profile.ps1 +++ b/dotfiles/pwsh/powershell_profile.ps1 @@ -196,3 +196,6 @@ if (Test-Path($ChocolateyProfile)) { # rclone rclone completion powershell | Out-String | Invoke-Expression +# node +Import-Module npm-completion + From 61cd03500123a68e844aa45d0f6654fb54abd8eb Mon Sep 17 00:00:00 2001 From: qwjyh Date: Wed, 19 Oct 2022 12:12:40 +0900 Subject: [PATCH 2/2] update TODO --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index fcf5d2d..68c7df7 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,9 @@ my dotfiles # TODO - make install script for Linux + - fish setup + - fisher + - abbr - add rc files of Manjaro - neovim configs - lsp-config