1
0

Update nushell configuration

This commit is contained in:
Jip J. Dekker 2022-06-23 12:01:22 +10:00
parent b64d4100bc
commit 1e442ed07f
No known key found for this signature in database
GPG Key ID: 517DF4A00618C9C3
3 changed files with 16 additions and 13 deletions

View File

@ -75,10 +75,13 @@ use completions *
# Custom settings
let $config = ($config | upsert rm_always_trash true)
let $config = ($config | upsert edit_mode vi)
let $config = ($config | upsert max_history_size 100000)
let $config = ($config | upsert footer_mode auto)
let-env config = {
rm_always_trash: true,
edit_mode: vi,
max_history_size: 100000,
footer_mode: auto,
history_file_format: "sqlite",
}
### Setup aliases
alias edit = ^($env.EDITOR)

View File

@ -2,8 +2,8 @@
# Load standardised prompt "starship"
# TEMP: Custom vi prompt indicators
let-env PROMPT_INDICATOR_VI_INSERT = "✏️ "
let-env PROMPT_INDICATOR_VI_NORMAL = "🔙 "
let-env PROMPT_INDICATOR_VI_INSERT = ""
let-env PROMPT_INDICATOR_VI_NORMAL = ""
source ~/.cache/starship/init.nu
# Specifies how environment variables are:
@ -58,7 +58,7 @@ let-env EDITOR = "nvim"
let-env BIGBAD = "compute.optimisation-2020.cloud.edu.au"
# CMake settings
let-env CMAKE_EXPORT_COMPILE_COMMANDS = "1" # output compile-commands.json for clangd
let-env CMAKE_GENERATOR = "Ninja Multi-Config" # use Ninja generator by default
let-env CMAKE_GENERATOR = "Sublime Text 2 - Ninja" # use Ninja generator by default
# Default find command for FZF
let-env FZF_DEFAULT_COMMAND = "fd --type f"
# Homebrew shell setup (brew shellenv)

View File

@ -1,13 +1,13 @@
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"in_process_packages": [],
"installed_packages": [
"Debugger",
"LSP",
"LSP-ltex-ls",
"LSP-rust-analyzer",
"LSP-svelte",
"LSP-TexLab",
"MiniZinc Language",
"Package Control",
"Svelte",