init
This commit is contained in:
commit
3272c8924e
18 changed files with 1375 additions and 0 deletions
5
dot/.bashrc
Normal file
5
dot/.bashrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
|
||||
# Added by LM Studio CLI (lms)
|
||||
export PATH="$PATH:/Users/elijahmcmorris/.cache/lm-studio/bin"
|
||||
# End of LM Studio CLI section
|
62
dot/.zshrc
Normal file
62
dot/.zshrc
Normal file
|
@ -0,0 +1,62 @@
|
|||
# Lines configured by zsh-newuser-install
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
# End of lines configured by zsh-newuser-install
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/Users/elijahmcmorris/.zshrc'
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
|
||||
bindkey -v
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
|
||||
export EDITOR="zed --wait"
|
||||
export VISUAL="zed --wait"
|
||||
|
||||
# alias make=just
|
||||
alias npm=pnpm
|
||||
alias npx="pnpm dlx"
|
||||
|
||||
alias cat="bat --paging=never"
|
||||
alias ls="eza"
|
||||
alias tree="eza -T"
|
||||
eval "$(zoxide init zsh)"
|
||||
alias cd="z"
|
||||
alias du="dua i"
|
||||
|
||||
alias lg="lazygit"
|
||||
alias ld="lazydocker"
|
||||
|
||||
# alias cargo="RUSTFLAGS='-Z threads=16' cargo"
|
||||
# alias cargo="CARGO_PROFILE_DEV_CODEGEN_BACKEND=cranelift cargo -Zcodegen-backend"
|
||||
|
||||
export PATH=$PATH:/Users/elijahmcmorris/.cargo/bin
|
||||
|
||||
cargo install-update -a
|
||||
|
||||
# lazydocker: https://github.com/jesseduffield/lazydocker/issues/4#issuecomment-2594808943
|
||||
# export DOCKER_HOST=unix://$(podman machine inspect --format '{{.ConnectionInfo.PodmanSocket.Path}}')
|
||||
|
||||
# railpack
|
||||
# export BUILDKIT_HOST=docker-container://buildkit
|
||||
|
||||
# colima: https://github.com/abiosoft/colima/issues/365#issuecomment-1953318849
|
||||
# export DOCKER_HOST="unix://${HOME}/.colima/default/docker.sock"
|
||||
|
||||
# https://stackoverflow.com/a/76586216/8179347
|
||||
export DOCKER_DEFAULT_PLATFORM=linux/amd64
|
||||
|
||||
# pnpm
|
||||
export PNPM_HOME="/Users/elijahmcmorris/Library/pnpm"
|
||||
case ":$PATH:" in
|
||||
*":$PNPM_HOME:"*) ;;
|
||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||
esac
|
||||
# pnpm end
|
||||
|
||||
# Added by LM Studio CLI (lms)
|
||||
export PATH="$PATH:/Users/elijahmcmorris/.cache/lm-studio/bin"
|
||||
# End of LM Studio CLI section
|
181
dot/zed/settings.json
Normal file
181
dot/zed/settings.json
Normal file
|
@ -0,0 +1,181 @@
|
|||
// Zed settings
|
||||
//
|
||||
// For information on how to configure Zed, see the Zed
|
||||
// documentation: https://zed.dev/docs/configuring-zed
|
||||
//
|
||||
// To see all of Zed's default settings without changing your
|
||||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"ssh_connections": [
|
||||
{
|
||||
"host": "5.78.84.133",
|
||||
"username": "root",
|
||||
"projects": [
|
||||
{
|
||||
"paths": ["~/NexVeridian"]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"edit_prediction_provider": "copilot"
|
||||
},
|
||||
"agent": {
|
||||
"always_allow_tool_actions": true,
|
||||
"inline_assistant_model": {
|
||||
"provider": "copilot_chat",
|
||||
"model": "claude-3.7-sonnet"
|
||||
},
|
||||
"profiles": {
|
||||
"ask": {
|
||||
"name": "Ask",
|
||||
"tools": {
|
||||
"symbol_info": true,
|
||||
"open": true,
|
||||
"contents": true,
|
||||
"diagnostics": true,
|
||||
"fetch": true,
|
||||
"list_directory": true,
|
||||
"now": true,
|
||||
"find_path": true,
|
||||
"read_file": true,
|
||||
"grep": true,
|
||||
"thinking": true
|
||||
},
|
||||
"enable_all_context_servers": false,
|
||||
"context_servers": {}
|
||||
},
|
||||
"write": {
|
||||
"name": "Write",
|
||||
"tools": {
|
||||
"open": false,
|
||||
"create_directory": true,
|
||||
"terminal": true,
|
||||
"batch_tool": true,
|
||||
"code_symbols": true,
|
||||
"copy_path": true,
|
||||
"create_file": true,
|
||||
"delete_path": false,
|
||||
"diagnostics": true,
|
||||
"edit_file": true,
|
||||
"fetch": true,
|
||||
"list_directory": true,
|
||||
"move_path": false,
|
||||
"now": true,
|
||||
"find_path": true,
|
||||
"read_file": true,
|
||||
"grep": true,
|
||||
"symbol_info": true,
|
||||
"thinking": true
|
||||
},
|
||||
"enable_all_context_servers": true,
|
||||
"context_servers": {}
|
||||
}
|
||||
},
|
||||
"default_profile": "write",
|
||||
"default_model": {
|
||||
"provider": "copilot_chat",
|
||||
"model": "claude-3.7-sonnet"
|
||||
},
|
||||
"version": "2"
|
||||
},
|
||||
"telemetry": {
|
||||
"metrics": false,
|
||||
"diagnostics": false
|
||||
},
|
||||
"ui_font_size": 16,
|
||||
"buffer_font_size": 16,
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "One Light",
|
||||
"dark": "One Dark"
|
||||
},
|
||||
"languages": {
|
||||
// Biome
|
||||
"JavaScript": {
|
||||
"formatter": {
|
||||
"language_server": {
|
||||
"name": "biome"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TypeScript": {
|
||||
"formatter": {
|
||||
"language_server": {
|
||||
"name": "biome"
|
||||
}
|
||||
}
|
||||
},
|
||||
"JSX": {
|
||||
"formatter": {
|
||||
"language_server": {
|
||||
"name": "biome"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TSX": {
|
||||
"formatter": {
|
||||
"language_server": {
|
||||
"name": "biome"
|
||||
}
|
||||
}
|
||||
},
|
||||
"JSON": {
|
||||
"formatter": {
|
||||
"language_server": {
|
||||
"name": "biome"
|
||||
}
|
||||
}
|
||||
},
|
||||
"CSS": {
|
||||
"formatter": {
|
||||
"language_server": {
|
||||
"name": "biome"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"Rust": {
|
||||
"inlay_hints": {
|
||||
// Global switch to toggle hints on and off, switched off by default.
|
||||
"enabled": true,
|
||||
// Toggle certain types of hints on and off, all switched on by default.
|
||||
"show_type_hints": true,
|
||||
"show_parameter_hints": true,
|
||||
// Corresponds to null/None LSP hint type value.
|
||||
"show_other_hints": true,
|
||||
// Time to wait after editing the buffer, before requesting the hints,
|
||||
// set to 0 to disable debouncing.
|
||||
"edit_debounce_ms": 700,
|
||||
// Time to wait after scrolling the buffer, before requesting the hints,
|
||||
// set to 0 to disable debouncing.
|
||||
"scroll_debounce_ms": 50
|
||||
}
|
||||
},
|
||||
"Nix": {
|
||||
"language_servers": ["nixd", "!nil"]
|
||||
},
|
||||
"Python": {
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "bash",
|
||||
"arguments": [
|
||||
"-c",
|
||||
"ruff check --exit-zero --fix --unsafe-fixes --stdin-filename {buffer_path} | ruff format --stdin-filename {buffer_path}"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"lsp": {
|
||||
"rust-analyzer": {
|
||||
"initialization_options": {
|
||||
"check": {
|
||||
"command": "clippy"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue