repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nushell: disable rm --trash in termux

2db3886ee2177422378ee2a862096067e8477265

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (4)

nushell/config.nu

Modified
5 5 mode: markdown
7 7 rm: {
8 - always_trash: true
8 + always_trash: (not $env.TERMUX)
10 10 cursor_shape: {
11 11 vi_insert: line

nushell/env.nu

Modified
1 1 # GLOBAL VARIABLES
3 3 $env.WIN32 = ( $nu.os-info.name =~ "windows" )
4 +$env.TERMUX = ( $nu.os-info.name =~ "android" )
5 6 $env.WORKSPACE = if $env.WIN32 { "~/Workspaces" } else { "~/Workspace" | path expand }
6 7 $env.DOTFILES = ( $env.WORKSPACE | path join 'dotfiles' | path expand)

termux-shortcuts/update-system.nu

Added
new file mode 100755
1 +#!//data/data/com.termux/files/usr/bin/nu
3 +pkg update --yes

termux.symlinks

Modified
64 64 pueue/pueued.service
65 65 ~/.config/systemd/user/pueued.service
67 +termux-shortcuts
68 +~/.shortcuts
67 70 tresor/1078030f-e587-4ed3-bce9-15f6ad113390
68 71 ~/.ssh/github.key