Update nushell configuration
This commit is contained in:
parent
b64d4100bc
commit
1e442ed07f
@ -75,10 +75,13 @@ use completions *
|
|||||||
|
|
||||||
|
|
||||||
# Custom settings
|
# Custom settings
|
||||||
let $config = ($config | upsert rm_always_trash true)
|
let-env config = {
|
||||||
let $config = ($config | upsert edit_mode vi)
|
rm_always_trash: true,
|
||||||
let $config = ($config | upsert max_history_size 100000)
|
edit_mode: vi,
|
||||||
let $config = ($config | upsert footer_mode auto)
|
max_history_size: 100000,
|
||||||
|
footer_mode: auto,
|
||||||
|
history_file_format: "sqlite",
|
||||||
|
}
|
||||||
|
|
||||||
### Setup aliases
|
### Setup aliases
|
||||||
alias edit = ^($env.EDITOR)
|
alias edit = ^($env.EDITOR)
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
# Load standardised prompt "starship"
|
# Load standardised prompt "starship"
|
||||||
# TEMP: Custom vi prompt indicators
|
# TEMP: Custom vi prompt indicators
|
||||||
let-env PROMPT_INDICATOR_VI_INSERT = "✏️ "
|
let-env PROMPT_INDICATOR_VI_INSERT = ""
|
||||||
let-env PROMPT_INDICATOR_VI_NORMAL = "🔙 "
|
let-env PROMPT_INDICATOR_VI_NORMAL = ""
|
||||||
source ~/.cache/starship/init.nu
|
source ~/.cache/starship/init.nu
|
||||||
|
|
||||||
# Specifies how environment variables are:
|
# Specifies how environment variables are:
|
||||||
@ -58,7 +58,7 @@ let-env EDITOR = "nvim"
|
|||||||
let-env BIGBAD = "compute.optimisation-2020.cloud.edu.au"
|
let-env BIGBAD = "compute.optimisation-2020.cloud.edu.au"
|
||||||
# CMake settings
|
# CMake settings
|
||||||
let-env CMAKE_EXPORT_COMPILE_COMMANDS = "1" # output compile-commands.json for clangd
|
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
|
# Default find command for FZF
|
||||||
let-env FZF_DEFAULT_COMMAND = "fd --type f"
|
let-env FZF_DEFAULT_COMMAND = "fd --type f"
|
||||||
# Homebrew shell setup (brew shellenv)
|
# Homebrew shell setup (brew shellenv)
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"bootstrapped": true,
|
"bootstrapped": true,
|
||||||
"in_process_packages":
|
"in_process_packages": [],
|
||||||
[
|
"installed_packages": [
|
||||||
],
|
|
||||||
"installed_packages":
|
|
||||||
[
|
|
||||||
"Debugger",
|
"Debugger",
|
||||||
"LSP",
|
"LSP",
|
||||||
|
"LSP-ltex-ls",
|
||||||
|
"LSP-rust-analyzer",
|
||||||
"LSP-svelte",
|
"LSP-svelte",
|
||||||
|
"LSP-TexLab",
|
||||||
"MiniZinc Language",
|
"MiniZinc Language",
|
||||||
"Package Control",
|
"Package Control",
|
||||||
"Svelte",
|
"Svelte",
|
||||||
],
|
],
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user