Compare commits
10 Commits
1a651bb023
...
nushell
| Author | SHA1 | Date | |
|---|---|---|---|
| 46fed03268 | |||
| 8571495a53 | |||
| 814305c82d | |||
| 6f3131bedc | |||
| 65fed10281 | |||
| 38555114b1 | |||
| 0d27c52f6e | |||
| 2f43f25649 | |||
| de4aafdd80 | |||
| 482c639b30 |
3
autoload/jlab-usb-power-toggle.nu
Normal file
3
autoload/jlab-usb-power-toggle.nu
Normal file
@@ -0,0 +1,3 @@
|
||||
export def lumen-jlab-usb-power-toggle []: nothing -> nothing {
|
||||
sudo uhubctl -a toggle -p 1 -l 3-5
|
||||
}
|
||||
18
config.nu
18
config.nu
@@ -17,9 +17,21 @@
|
||||
# You can remove these comments if you want or leave
|
||||
# them for future reference.
|
||||
|
||||
$env.EDITOR = 'nvim'
|
||||
$env.VISUAL = 'nvim'
|
||||
|
||||
$env.config.show_banner = false
|
||||
$env.EDITOR = 'hx'
|
||||
$env.VISUAL = 'hx'
|
||||
$env.config.table.trim.methodology = 'truncating'
|
||||
$env.config.table.trim.truncating_suffix = ' >>'
|
||||
$env.config.table.mode = 'frameless'
|
||||
|
||||
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 })
|
||||
|
||||
Reference in New Issue
Block a user