Skip to content

Commit b4138e8

Browse files
committed
chore: config leetcode.toml
1 parent 244d5ad commit b4138e8

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

devbox.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"cargo-watch@latest"
77
],
88
"shell": {
9-
"init_hook": [],
9+
"init_hook": [
10+
"mkdir -p ~/.leetcode",
11+
"cp leetcode.toml ~/.leetcode/"
12+
],
1013
"scripts": {
1114
"leet": "nix run github:clearloop/leetcode-cli",
1215
"dev": "cargo watch -x run",

leetcode.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[code]
2+
editor = 'nvim'
3+
lang = 'rust'
4+
5+
[cookies]
6+
csrf = ''
7+
session = ''
8+
9+
[storage]
10+
cache = 'Problems'
11+
code = 'code'
12+
root = '~/ghq/github.com/ryoppippi/leetcode'
13+
scripts = 'scripts'

0 commit comments

Comments
 (0)