Add nushell configuration
This commit is contained in:
parent
1444677e9c
commit
2a29b0e559
@ -3,9 +3,11 @@ bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
cursor_shape underline
|
||||
|
||||
font_size 14.0
|
||||
|
||||
allow_remote_control yes
|
||||
shell nu
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
include current-theme.conf
|
||||
|
@ -94,4 +94,4 @@ vim.cmd([[
|
||||
augroup END
|
||||
]])
|
||||
|
||||
vim.cmd([[ autocmd BufWritePost ~/.local/share/chezmoi/* ! chezmoi apply --source-path % ]])
|
||||
vim.cmd([[ autocmd BufWritePost ~/.local/share/chezmoi/* ! chezmoi apply --source-path "%" ]])
|
||||
|
@ -0,0 +1,44 @@
|
||||
completion_type = "list"
|
||||
prompt = "starship prompt"
|
||||
rm_always_trash = true
|
||||
table_mode = "rounded"
|
||||
|
||||
path = [
|
||||
"/Applications/kitty.app/Contents/MacOS",
|
||||
"/opt/homebrew/bin",
|
||||
"/usr/bin",
|
||||
"/bin",
|
||||
"/usr/sbin",
|
||||
"/sbin"
|
||||
]
|
||||
|
||||
startup = [
|
||||
"alias edit = ^($nu.env.EDITOR)",
|
||||
"alias set-light-theme = kitty +kitten themes Rose-pine-dawn",
|
||||
"alias set-dark-theme = kitty +kitten themes Rose-pine-moon",
|
||||
|
||||
# Optional binaries from Homebrew
|
||||
"pathvar add $'(brew --prefix | str trim)/opt/bison/bin'",
|
||||
"pathvar add $'(brew --prefix | str trim)/opt/flex/bin'",
|
||||
"pathvar add $'(brew --prefix | str trim)/opt/llvm/bin'",
|
||||
"pathvar add $'(brew --prefix | str trim)/opt/openjdk/bin'",
|
||||
|
||||
"pathvar append ~/.local/bin", # pipx binaries
|
||||
"pathvar append ~/.cargo/bin", # cargo binaries
|
||||
|
||||
"let-env MZN_SOLVER_PATH = $'(brew --prefix | str trim)/share/minizinc/solvers'",
|
||||
|
||||
# Zoxide autojump
|
||||
"zoxide init nushell --hook prompt | save ~/.config/nu/zoxide.nu", "source ~/.config/nu/zoxide.nu",
|
||||
]
|
||||
|
||||
[line_editor]
|
||||
completion_match_method = "case-insensitive"
|
||||
edit_mode = "vi"
|
||||
|
||||
[env]
|
||||
BIGBAD = "compute.optimisation-2020.cloud.edu.au"
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS = "1"
|
||||
CMAKE_GENERATOR = "Ninja Multi-Config"
|
||||
EDITOR = "nvim"
|
||||
FZF_DEFAULT_COMMAND = "fd --type f"
|
Loading…
x
Reference in New Issue
Block a user