diff --git a/dot_local/share/scripts/executable_backup.nu b/dot_local/share/scripts/executable_backup.nu index e1e58c9..65bcdc9 100644 --- a/dot_local/share/scripts/executable_backup.nu +++ b/dot_local/share/scripts/executable_backup.nu @@ -1,6 +1,6 @@ #!/bin/nu -let-env BORG_REPO = '/run/media/trivernis/Backup' -let BACKUP_PATHS = [ +$env.BORG_REPO = '/run/media/trivernis/Backup' +let BACKUP_PATHS = ([ ~/Documents ~/Videos ~/Pictures/ @@ -15,7 +15,7 @@ let BACKUP_PATHS = [ /mnt/Data/Audio/ /mnt/Massdata/ /etc -] +] | path expand ) if (pgrep borg | length) > 0 { echo "Borg is running" diff --git a/private_dot_config/nushell/completions/cargo.nu b/private_dot_config/nushell/completions/cargo.nu index c59e7b0..00fb916 100644 --- a/private_dot_config/nushell/completions/cargo.nu +++ b/private_dot_config/nushell/completions/cargo.nu @@ -18,7 +18,7 @@ export extern "cargo" [ --frozen --locked --offline - --config: string + # --config: string -Z: string ] @@ -38,7 +38,7 @@ export extern "cargo build" [ --bin: string --offline --bins - --config: string + # --config: string --example: string --test: string --tests diff --git a/private_dot_config/nushell/config.nu b/private_dot_config/nushell/config.nu index 0bf06b7..044a8c9 100644 --- a/private_dot_config/nushell/config.nu +++ b/private_dot_config/nushell/config.nu @@ -425,5 +425,8 @@ source ~/.config/nushell/starship.nu # aliases source ~/.config/nushell/aliases.nu +# zoxide +source ~/.config/nushell/zoxide.nu + # motd -source ~/.config/nushell/motd.nu +source ~/.config/nushell/motd.nu \ No newline at end of file diff --git a/private_dot_config/starship.toml b/private_dot_config/starship.toml index 03c871c..5b38cbc 100644 --- a/private_dot_config/starship.toml +++ b/private_dot_config/starship.toml @@ -47,7 +47,7 @@ truncation_symbol = "…/" # Here is how you can shorten some long paths by text replacement # similar to mapped_locations in Oh My Posh: [directory.substitutions] -"Documents" = " " +"Documents" = "󱔗 " "Downloads" = " " "Music" = " " "Pictures" = " " @@ -86,7 +86,7 @@ style = "bg:93" format = '[[ $symbol ($version) ](fg:231 bg:93)]($style)' [golang] -symbol = "" +symbol = "" style = "bg:93" format = '[[ $symbol ($version) ](fg:231 bg:93)]($style)'