Merge branch 'main' of github.com:Trivernis/dotfiles

main
trivernis 1 year ago
commit fcd038080e
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,6 +1,6 @@
#!/bin/nu #!/bin/nu
let-env BORG_REPO = '/run/media/trivernis/Backup' $env.BORG_REPO = '/run/media/trivernis/Backup'
let BACKUP_PATHS = [ let BACKUP_PATHS = ([
~/Documents ~/Documents
~/Videos ~/Videos
~/Pictures/ ~/Pictures/
@ -15,7 +15,7 @@ let BACKUP_PATHS = [
/mnt/Data/Audio/ /mnt/Data/Audio/
/mnt/Massdata/ /mnt/Massdata/
/etc /etc
] ] | path expand )
if (pgrep borg | length) > 0 { if (pgrep borg | length) > 0 {
echo "Borg is running" echo "Borg is running"

@ -18,7 +18,7 @@ export extern "cargo" [
--frozen --frozen
--locked --locked
--offline --offline
--config: string # --config: string
-Z: string -Z: string
] ]
@ -38,7 +38,7 @@ export extern "cargo build" [
--bin: string --bin: string
--offline --offline
--bins --bins
--config: string # --config: string
--example: string --example: string
--test: string --test: string
--tests --tests

@ -425,5 +425,8 @@ source ~/.config/nushell/starship.nu
# aliases # aliases
source ~/.config/nushell/aliases.nu source ~/.config/nushell/aliases.nu
# zoxide
source ~/.config/nushell/zoxide.nu
# motd # motd
source ~/.config/nushell/motd.nu source ~/.config/nushell/motd.nu

@ -47,7 +47,7 @@ truncation_symbol = "…/"
# Here is how you can shorten some long paths by text replacement # Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh: # similar to mapped_locations in Oh My Posh:
[directory.substitutions] [directory.substitutions]
"Documents" = " " "Documents" = "󱔗 "
"Downloads" = " " "Downloads" = " "
"Music" = " " "Music" = " "
"Pictures" = " " "Pictures" = " "
@ -86,7 +86,7 @@ style = "bg:93"
format = '[[ $symbol ($version) ](fg:231 bg:93)]($style)' format = '[[ $symbol ($version) ](fg:231 bg:93)]($style)'
[golang] [golang]
symbol = "" symbol = ""
style = "bg:93" style = "bg:93"
format = '[[ $symbol ($version) ](fg:231 bg:93)]($style)' format = '[[ $symbol ($version) ](fg:231 bg:93)]($style)'

Loading…
Cancel
Save