hachem.wtf
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-12-06 01:56:45 +0100
committerhachem <im@hachem.wtf>2025-12-06 01:56:45 +0100
commit685fe66665e5a360e2b21ea51229ccaee68568f1 (patch)
tree741b34be81adf2b4bcb2906e98b523dfabdd39e4
parentee0282c364bcb3e79dc842697eaeca829f9e7725 (diff)
[add]: add nushell
-rw-r--r--.config/nushell/config.nu7
-rw-r--r--.config/starship.toml12
2 files changed, 19 insertions, 0 deletions
diff --git a/.config/nushell/config.nu b/.config/nushell/config.nu
new file mode 100644
index 0000000..c0cd1cc
--- /dev/null
+++ b/.config/nushell/config.nu
@@ -0,0 +1,7 @@
+$env.config.buffer_editor = "nvim"
+$env.config.show_banner = false
+
+alias vi = nvim
+
+mkdir ($nu.data-dir | path join "vendor/autoload")
+starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
diff --git a/.config/starship.toml b/.config/starship.toml
new file mode 100644
index 0000000..4e7e073
--- /dev/null
+++ b/.config/starship.toml
@@ -0,0 +1,12 @@
+"$schema" = 'https://starship.rs/config-schema.json'
+add_newline = false
+
+format = '''
+[$directory](bold green)[::](bold white) '''
+
+right_format = '''
+$git_branch
+'''
+
+[package]
+disabled = true