Recently Written · git

sbm

dmenu bookmarks. Instantly fuzzy search thousands of bookmarks and plumb them. LOOKING FOR SUCKLESS SOFTWARE EDITION? GO TO sbm-suckless INSTEAD

git clone https://github.com/equwal/sbm

Log | Files | Refs


packaging/chocolatey/tools/chocolateyUninstall.ps1 (932 bytes)

1 $ErrorActionPreference = 'Stop'
2 
3 $toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
4 
5 $scripts = @('bm', 'bm-migrate', 'bm-import', 'bm-check', 'bm-html', 'bm-title', 'bm-commit', 'bm-watch', 'bm-sync')
6 
7 foreach ($s in $scripts) {
8   $cmdPath = Join-Path $toolsDir "$s.cmd"
9   Uninstall-BinFile -Name $s -Path $cmdPath
10   Remove-Item -LiteralPath $cmdPath -Force -ErrorAction SilentlyContinue
11   Remove-Item -LiteralPath (Join-Path $toolsDir $s) -Force -ErrorAction SilentlyContinue
12 }
13 
14 foreach ($extra in @('README', 'usertags', 'engines')) {
15   Remove-Item -LiteralPath (Join-Path $toolsDir $extra) -Force -ErrorAction SilentlyContinue
16 }
17 
18 Remove-Item -LiteralPath (Join-Path $toolsDir 'staging') -Recurse -Force -ErrorAction SilentlyContinue
19 
20 # The bookmark file is the user's data and is left alone. It is under
21 # ~/.local/share/sbm/ unless BOOKMARKS says otherwise.
22 Write-Host 'sbm: your bookmark file was not touched.'