1
0

10 Commits

2 changed files with 18 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
export def lumen-jlab-usb-power-toggle []: nothing -> nothing {
sudo uhubctl -a toggle -p 1 -l 3-5
}

View File

@@ -17,9 +17,21 @@
# You can remove these comments if you want or leave # You can remove these comments if you want or leave
# them for future reference. # them for future reference.
$env.EDITOR = 'nvim'
$env.VISUAL = 'nvim'
$env.config.show_banner = false $env.config.show_banner = false
$env.EDITOR = 'hx' $env.config.table.trim.methodology = 'truncating'
$env.VISUAL = 'hx' $env.config.table.trim.truncating_suffix = ' >>'
$env.config.table.mode = 'frameless'
if ((sys host).name !~ '.*Windows.*') { if ((sys host).name !~ '.*Windows.*') {
$env.SSH_AUTH_SOCK = '/home/lumen/.bitwarden-ssh-agent.sock' $env.SSH_AUTH_SOCK = $'($env.HOME)/.bitwarden-ssh-agent.sock'
} }
try {
carapace _carapace nushell | let carapace_nu
mkdir $'($nu.cache-dir)'
$carapace_nu | save --force $'($nu.cache-dir)/carapace.nu'
} catch {}
source (if ($'($nu.cache-dir)/carapace.nu' | path exists) {($'($nu.cache-dir)/carapace.nu')} else { null })