Skip to content

Commit de9a273

Browse files
authored
Remove chrome_history open from bin/chrome-history
These break the chrome_history command. Fix the `chrome-history` command which was failing with "No such file or directory" and "no such table: urls" errors due to local variable shadowing. This function is trying to access the chrome_history and open vars that are in outer scope.
1 parent a2484ae commit de9a273

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/chrome-history

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ trap cleanup EXIT
4141

4242
# browse Chrome history
4343
chrome-history() {
44-
local cols sep chrome_history open
44+
local cols sep
4545
cols=$(( COLUMNS / 3 ))
4646
sep='{::}'
4747

0 commit comments

Comments
 (0)