Skip to content

Commit 2ca43fe

Browse files
feat(home/shell)!: rm mydev nu command
1 parent 30c5345 commit 2ca43fe

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

modules/home/shell.nix

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -176,22 +176,6 @@ in
176176
''
177177
)
178178

179-
''
180-
def --env mydev [] {
181-
let dir = (
182-
glob --depth 2 --no-file --exclude [**/.*/**] ${my.dir.dev}/** |
183-
each {|row| $row | str replace $nu.home-path "~" } |
184-
prepend "~/.dotfiles" |
185-
input list --fuzzy
186-
)
187-
188-
match $dir {
189-
null => "No dir was chosen."
190-
_ => { cd $dir }
191-
}
192-
}
193-
''
194-
195179
''
196180
let __my_cd_db = ($nu.default-config-dir | path join "cd.sqlite")
197181

0 commit comments

Comments
 (0)