Capture Windows Nushell config
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
# config.nu
|
||||
# Nushell Configuration
|
||||
|
||||
# Standard Library
|
||||
use std
|
||||
|
||||
$env.config = {
|
||||
show_banner: false,
|
||||
ls: {
|
||||
use_ls_colors: true
|
||||
clickable_links: true
|
||||
}
|
||||
rm: {
|
||||
always_trash: false
|
||||
}
|
||||
table: {
|
||||
mode: rounded
|
||||
}
|
||||
history: {
|
||||
max_size: 100000
|
||||
sync_on_enter: true
|
||||
file_format: "sqlite"
|
||||
}
|
||||
completions: {
|
||||
case_sensitive: false
|
||||
quick: true
|
||||
partial: true
|
||||
algorithm: "fuzzy"
|
||||
}
|
||||
}
|
||||
|
||||
# Modern tooling aliases based on preferences
|
||||
if (which eza | is-not-empty) {
|
||||
alias l = eza -l
|
||||
alias la = eza -la
|
||||
alias ll = eza -l
|
||||
alias ls = eza
|
||||
}
|
||||
|
||||
if (which bat | is-not-empty) {
|
||||
alias cat = bat -P
|
||||
}
|
||||
|
||||
if (which rg | is-not-empty) {
|
||||
alias grep = rg
|
||||
}
|
||||
|
||||
if (which fd | is-not-empty) {
|
||||
alias find = fd
|
||||
alias f = fd
|
||||
}
|
||||
|
||||
if (which yazi | is-not-empty) {
|
||||
alias y = yazi
|
||||
}
|
||||
|
||||
# Source tool integrations generated in env.nu
|
||||
source ~/.cache/nushell/zoxide.nu
|
||||
source ~/.cache/nushell/starship.nu
|
||||
|
||||
# Java and JDK Utilities
|
||||
use java-utils.nu *
|
||||
|
||||
# Visual Studio Utilities
|
||||
use vs-utils.nu *
|
||||
|
||||
# Git completions
|
||||
use completions/git-completions.nu *
|
||||
use completions/scoop-completions.nu *
|
||||
use completions/pnpm-completions.nu *
|
||||
use completions/uv-completions.nu *
|
||||
|
||||
jdk25home --quiet
|
||||
Reference in New Issue
Block a user