This commit is contained in:
h759bkyo4 2024-04-25 00:04:53 -04:00
parent 5d1b8d7a70
commit 5427710eeb
No known key found for this signature in database
GPG key ID: 0AE37F9649850573
5 changed files with 54 additions and 41 deletions

View file

@ -1,38 +0,0 @@
# this file is both a valid
# - overlay which can be loaded with `overlay use starship.nu`
# - module which can be used with `use starship.nu`
# - script which can be used with `source starship.nu`
export-env { $env.STARSHIP_SHELL = "nu"; load-env {
STARSHIP_SESSION_KEY: (random chars -l 16)
PROMPT_MULTILINE_INDICATOR: (
^/home/oliver/.cargo/bin/starship prompt --continuation
)
# Does not play well with default character module.
# TODO: Also Use starship vi mode indicators?
PROMPT_INDICATOR: ""
PROMPT_COMMAND: {||
# jobs are not supported
(
^/home/oliver/.cargo/bin/starship prompt
--cmd-duration $env.CMD_DURATION_MS
$"--status=($env.LAST_EXIT_CODE)"
--terminal-width (term size).columns
)
}
config: ($env.config? | default {} | merge {
render_right_prompt_on_last_line: true
})
PROMPT_COMMAND_RIGHT: {||
(
^/home/oliver/.cargo/bin/starship prompt
--right
--cmd-duration $env.CMD_DURATION_MS
$"--status=($env.LAST_EXIT_CODE)"
--terminal-width (term size).columns
)
}
}}

View file

@ -0,0 +1,21 @@
[bleachbit]
auto_hide = True
check_beta = False
check_online_updates = False
dark_mode = True
debug = False
delete_confirmation = True
exit_done = False
remember_geometry = True
shred = False
units_iec = False
window_fullscreen = False
window_maximized = False
first_start = True
version = 4.4.2
[hashpath]
[preserve_languages]
en = True

File diff suppressed because one or more lines are too long

21
update-install.sh Executable file
View file

@ -0,0 +1,21 @@
echo "Start apt, cargo and rustup upgrade:\n"
sudo apt-get update
echo "\n"
sudo apt-get list --upgradable
echo "\n"
sudo apt-get install -y
echo "\nDone apt starting cargo\n"
cargo-install-update install-update --all
echo "\nDone cargo starting rustup\n"
rustup self update
echo "\nFinished updates."

View file

@ -1,8 +1,17 @@
echo "Start apt, cargo and rustup upgrade:\n"
sudo apt update && sudo apt upgrade -y
sudo apt-get update
echo "\n"
sudo apt-get list --upgradable
echo "\nDone apt starting cargo\n"
cargo-install-update install-update --all
echo "\nDone cargo starting rustup\n"
rustup self update
rustup update
echo "\nFinished updates."