diff options
Diffstat (limited to 'dot_config')
| -rw-r--r-- | dot_config/powershell/Microsoft.PowerShell_profile.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dot_config/powershell/Microsoft.PowerShell_profile.ps1 b/dot_config/powershell/Microsoft.PowerShell_profile.ps1 index 6090e89..11e43d2 100644 --- a/dot_config/powershell/Microsoft.PowerShell_profile.ps1 +++ b/dot_config/powershell/Microsoft.PowerShell_profile.ps1 @@ -15,7 +15,8 @@ Set-PSReadlineKeyHandler -Key "Ctrl+f" -ScriptBlock { $codepath = $(Join-Path "C:" $env:HOMEPATH "\Documents\Repos\") $configpath = $(Join-Path "C:" $env:HOMEPATH "\.config\") $localsharepath = $(Join-Path "C:" $env:HOMEPATH "\.local\share\") - Invoke-Expression "cd $(fd . $codepath $localsharepath $configpath -t d -d 1 | fzf)" + $obsidianvaultpath = $(Join-Path "C:" $env:HOMEPATH "\Documents\Vaults\") + Invoke-Expression "cd $(fd . $codepath $localsharepath $configpath $obsidianvaultpath -t d -d 1 | fzf)" # Next two lines sends an 'enter' key Add-Type -AssemblyName System.Windows.Forms |
