repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

termux: adds termux environment to dotfiles

7e99d70459fa09eb2aee1766e10f789ab5a73c1b

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (4)

git/gitconfig

Modified
1 1 [alias]
2 - # `git log` with patches shown with difftastic.
3 - dl = -c diff.external=difft log -p --ext-diff
5 - # Show the most recent commit with difftastic.
6 - ds = -c diff.external=difft show --ext-diff
8 2 m = mergetool
10 4 rc = rebase --continue
11 5 ra = rebase --abort
13 - # `git diff` with difftastic.
14 - dft = -c diff.external=difft diff
16 7 ci = commit --all
17 8 st = status --short
27 18 editor = nvim
28 19 quotepath = false
29 20 autocrlf = false
30 - pager = delta
31 21 safecrlf = false
32 22 symlinks = true
33 23 fscache = true

neovim/puk.nu

Modified
196 196 $name if $name =~ 'Linux' => { 'so' },
197 197 $name if $name =~ 'NixOS' => { 'so' },
198 198 $name if $name =~ 'Mac' => { 'dylib' },
199 + $name if $name =~ 'Pixel' => { 'so' },
199 200 _ => { error make { msg: 'unknown operating system' } },
201 202 let allowed_filetypes = [ lua vim scm txt $allowed_shared_lib_type ]

nushell/scripts/prompt.nu

Modified
8 8 [ "/home/oli/Notes" (char -u "03C0") ]
9 9 [ "/home/okr/Notes" (char -u "03C0") ]
10 10 [ "/home/bugabinga/Notes" (char -u "03C0") ]
11 + [ "/data/data/com.termux/files/home/Notes" (char -u "03C0")]
11 12 [ "C:\\Users\\okr\\Notizen" (char -u "03C0") ]
13 14 [ "/home/oli/Workspace" (char -u "03BB") ]
14 15 [ "/home/okr/Workspace" (char -u "03BB") ]
15 16 [ "/home/bugabinga/Workspace" (char -u "03BB") ]
17 + [ "/data/data/com.termux/files/home/Workspace" (char -u "03BB")]
16 18 [ "C:\\Users\\okr\\Workspaces" (char -u "03BB") ]
18 20 [ "/home/oli" (char home) ]
19 21 [ "/home/okr" (char home) ]
20 22 [ "/home/bugabinga" (char home) ]
23 + [ "/data/data/com.termux/files/home" (char home) ]
21 24 [ "C:\\Users\\okr" (char home) ]

tools/packages.nu

Modified
27 27 let os = sys host | get name
28 28 let system_location = if $OS =~ "Windows" {
29 29 $env.LOCALAPPDATA
30 - } else if $os =~ "Linux" {
30 + } else if $os =~ "Linux" or $os =~ "Pixel" {
31 31 $env | get-or-else XDG_CACHE_HOME ($env.HOME | path join .cache)
32 32 } else {
33 33 error make {
96 96 let url_format = match $OS {
97 97 "Windows" => { $package.win32_url }
98 98 $os if $os =~ "Linux" => { $package.lnx_url }
99 + $os if $os =~ "Pixel" => { $package.lnx_url }
99 100 _ => { error make { msg: "unknown operating system" } }
101 102 if $url_format == null {