repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk

5c3903ac4ba72ff9594a33c969e6fcb6b84cc8c1

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (3)

+61 / −1 text lines

Diff layout

nushell/login.nu

Modified

+1 / −0 text lines

11use prompt.nu *
22use commands.nu *
3use sy.nu
34use bw.nu
45use todo.nu
56use ssh-keygen-ed.nu

nushell/scripts/sy.nu

Added
new file mode 100644

+59 / −0 text lines

1# Check system status
2export def main [] {
3 check-deps
4
5 let git_status_notes = [ '-C' $env.NOTES status ]
6 let git_status_dotfiles = [ '-C' $env.DOTFILES status ]
7
8 # print git $git_status_notes
9 run-external git ...$git_status_notes
10 # print git $git_status_dotfiles
11 run-external git ...$git_status_dotfiles
13 macchina
14}
16# Synchronize by uploading
17export def up [] {
18 check-deps
20 let git_commit_notes = [ '-C' $env.NOTES commit '--all' ]
21 let git_push_notes = [ '-C' $env.NOTES push ]
22 let git_commit_dotfiles = [ '-C' $env.DOTFILES commit '--all' ]
23 let git_push_dotfiles = [ '-C' $env.DOTFILES push ]
25 # print git ...$git_commit_notes
26 run-external git ...$git_commit_notes
27 # print git $git_push_notes
28 run-external git ...$git_push_notes
29 # print git $git_commit_dotfiles
30 run-external git ...$git_commit_dotfiles
31 # print git $git_push_dotfiles
32 run-external git ...$git_push_dotfiles
33}
35# Synchronise by downloading
36export def down [] {
37 check-deps
39 let git_pull_notes = [ '-C' $env.NOTES pull '-ff' ]
40 let git_pull_dotfiles = [ '-C' $env.DOTFILES pull '-ff' ]
42 # print git $git_pull_notes
43 run-external git ...$git_pull_notes
44 # print git $git_pull_dotfiles
45 run-external git ...$git_pull_dotfiles
46 # print topgrade
47 run-external topgrade
48}
50def all-exist [] { all { which $in | is-not-empty } }
52def check-deps [] {
53 let deps = [ git topgrade macchina ]
54 if not ($deps | all-exist) {
55 error make {
56 msg: $"Install all of ($deps)"
57 }
58 }
59}

wezterm/bugabinga/code_fonts.csv

Modified

+1 / −1 text lines

51511,Lilex
52521,Linux Libertine Mono
53531,Luculent
541,Luxi Mono
543,Luxi Mono
55551,M+ 1m
565614,M+ 1mn
575714,M+ 2m