Compare commits
5
Commits
a15edc6734
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f056a099f | ||
|
|
881a5dadff | ||
|
|
58bec27062 | ||
|
|
cdba097f95 | ||
|
|
49dd51c6e0 |
No files matched your search
@@ -0,0 +1,2 @@
|
||||
# Never track the host-local zsh dir, even if it gets recreated here.
|
||||
zsh/.zsh/local/
|
||||
@@ -89,5 +89,10 @@
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
|
||||
[url "[email protected]:castai/"]
|
||||
insteadOf = https://github.com/castai/
|
||||
|
||||
[fetch]
|
||||
prune = true
|
||||
[url "[email protected]:"]
|
||||
insteadOf = https://github.com/
|
||||
@@ -15,8 +15,9 @@ local function toggle_or_focus_explorer()
|
||||
return
|
||||
end
|
||||
|
||||
-- No explorer open; open one at the project root
|
||||
Snacks.explorer({ cwd = LazyVim.root() })
|
||||
-- No explorer open; open one at the actual working directory.
|
||||
-- (inside the explorer, <c-r> toggles between project cwd and module root)
|
||||
Snacks.explorer()
|
||||
end
|
||||
|
||||
vim.keymap.set("n", "<leader>e", toggle_or_focus_explorer, { desc = "Explorer (toggle/focus)" })
|
||||
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
optional = true,
|
||||
opts = {
|
||||
linters_by_ft = {
|
||||
sql = { "sqlfluff" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -6,7 +6,6 @@ return {
|
||||
gopls = {
|
||||
settings = {
|
||||
gopls = {
|
||||
experimentalWorkspaceModule = true,
|
||||
hints = {
|
||||
assignVariableTypes = false,
|
||||
-- compositeLiteralFields = false,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
return {
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
"mason-org/mason.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"delve",
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2025 configs
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -0,0 +1,17 @@
|
||||
# starship-prompt
|
||||
|
||||
The minimal, blazing-fast, and infinitely customizable prompt for any shell!
|
||||
|
||||
# Getting started
|
||||
|
||||
```
|
||||
brew install starship
|
||||
|
||||
echo 'eval "$(starship init zsh)"' >> ~/.zshrc
|
||||
|
||||
git clone https://git.naterciomoniz.net/configs/starship-prompt.git ~/.config/starship
|
||||
|
||||
echo 'export STARSHIP_CONFIG=~/.config/starship/starship.toml' >> ~/.zshrc
|
||||
```
|
||||
|
||||
|
||||
@@ -0,0 +1,238 @@
|
||||
format = """
|
||||
$username\
|
||||
$hostname\
|
||||
$directory\
|
||||
$git_branch\
|
||||
$git_state\
|
||||
$git_status\
|
||||
$all\
|
||||
$cmd_duration\
|
||||
$line_break\
|
||||
$character"""
|
||||
|
||||
# Modules
|
||||
|
||||
[aws]
|
||||
symbol = " "
|
||||
|
||||
[buf]
|
||||
symbol = " "
|
||||
|
||||
[bun]
|
||||
symbol = " "
|
||||
|
||||
[character]
|
||||
success_symbol = "[❯](purple)"
|
||||
error_symbol = "[❯](red)"
|
||||
vimcmd_symbol = "[❮](green)"
|
||||
|
||||
[directory]
|
||||
style = "blue"
|
||||
read_only = " "
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
|
||||
[cmake]
|
||||
symbol = " "
|
||||
#format = '([$symbol ]($style))'
|
||||
|
||||
[cmd_duration]
|
||||
format = "[$duration]($style) "
|
||||
style = "yellow"
|
||||
|
||||
[cpp]
|
||||
symbol = " "
|
||||
|
||||
[conda]
|
||||
symbol = " "
|
||||
|
||||
[crystal]
|
||||
symbol = " "
|
||||
|
||||
[dart]
|
||||
symbol = " "
|
||||
|
||||
[deno]
|
||||
symbol = " "
|
||||
|
||||
[docker_context]
|
||||
symbol = " "
|
||||
|
||||
[elixir]
|
||||
symbol = " "
|
||||
|
||||
[elm]
|
||||
symbol = " "
|
||||
|
||||
[fennel]
|
||||
symbol = " "
|
||||
|
||||
[fossil_branch]
|
||||
symbol = " "
|
||||
|
||||
[gcloud]
|
||||
symbol = " "
|
||||
|
||||
[git_branch]
|
||||
format = "[$symbol$branch ]($style)"
|
||||
style = "bright-black"
|
||||
symbol = " "
|
||||
|
||||
[git_commit]
|
||||
tag_symbol = ' '
|
||||
|
||||
[git_status]
|
||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style) "
|
||||
conflicted = ""
|
||||
untracked = ""
|
||||
modified = ""
|
||||
staged = ""
|
||||
renamed = ""
|
||||
deleted = ""
|
||||
stashed = "≡"
|
||||
|
||||
[git_state]
|
||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
||||
style = "bright-black"
|
||||
|
||||
[golang]
|
||||
symbol = " "
|
||||
format = '[$symbol ]($style)'
|
||||
|
||||
[guix_shell]
|
||||
symbol = " "
|
||||
|
||||
[haskell]
|
||||
symbol = " "
|
||||
|
||||
[haxe]
|
||||
symbol = " "
|
||||
|
||||
[hg_branch]
|
||||
symbol = " "
|
||||
|
||||
[hostname]
|
||||
ssh_symbol = " "
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
|
||||
[julia]
|
||||
symbol = " "
|
||||
|
||||
[kotlin]
|
||||
symbol = " "
|
||||
|
||||
[kubernetes]
|
||||
format = '[$symbol$context( \($namespace\))]($style) '
|
||||
disabled = false
|
||||
|
||||
[lua]
|
||||
symbol = " "
|
||||
format = '[$symbol ]($style)'
|
||||
|
||||
[memory_usage]
|
||||
symbol = " "
|
||||
|
||||
[meson]
|
||||
symbol = " "
|
||||
|
||||
[nim]
|
||||
symbol = " "
|
||||
|
||||
[nix_shell]
|
||||
symbol = " "
|
||||
|
||||
[nodejs]
|
||||
symbol = " "
|
||||
|
||||
[ocaml]
|
||||
symbol = " "
|
||||
|
||||
[os.symbols]
|
||||
Alpaquita = " "
|
||||
Alpine = " "
|
||||
AlmaLinux = " "
|
||||
Amazon = " "
|
||||
Android = " "
|
||||
Arch = " "
|
||||
Artix = " "
|
||||
CachyOS = " "
|
||||
CentOS = " "
|
||||
Debian = " "
|
||||
DragonFly = " "
|
||||
Emscripten = " "
|
||||
EndeavourOS = " "
|
||||
Fedora = " "
|
||||
FreeBSD = " "
|
||||
Garuda = " "
|
||||
Gentoo = " "
|
||||
HardenedBSD = " "
|
||||
Illumos = " "
|
||||
Kali = " "
|
||||
Linux = " "
|
||||
Mabox = " "
|
||||
Macos = " "
|
||||
Manjaro = " "
|
||||
Mariner = " "
|
||||
MidnightBSD = " "
|
||||
Mint = " "
|
||||
NetBSD = " "
|
||||
NixOS = " "
|
||||
Nobara = " "
|
||||
OpenBSD = " "
|
||||
openSUSE = " "
|
||||
OracleLinux = " "
|
||||
Pop = " "
|
||||
Raspbian = " "
|
||||
Redhat = " "
|
||||
RedHatEnterprise = " "
|
||||
RockyLinux = " "
|
||||
Redox = " "
|
||||
Solus = " "
|
||||
SUSE = " "
|
||||
Ubuntu = " "
|
||||
Unknown = " "
|
||||
Void = " "
|
||||
Windows = " "
|
||||
|
||||
[package]
|
||||
symbol = " "
|
||||
|
||||
[perl]
|
||||
symbol = " "
|
||||
|
||||
[php]
|
||||
symbol = " "
|
||||
|
||||
[pijul_channel]
|
||||
symbol = " "
|
||||
|
||||
[pixi]
|
||||
symbol = " "
|
||||
|
||||
[python]
|
||||
symbol = " "
|
||||
format = "$symbol[$virtualenv]($style) "
|
||||
|
||||
[rlang]
|
||||
symbol = " "
|
||||
|
||||
[ruby]
|
||||
symbol = " "
|
||||
|
||||
[rust]
|
||||
symbol = " "
|
||||
|
||||
[scala]
|
||||
symbol = " "
|
||||
|
||||
[swift]
|
||||
symbol = " "
|
||||
|
||||
[zig]
|
||||
symbol = " "
|
||||
|
||||
[gradle]
|
||||
symbol = " "
|
||||
+26
-3
@@ -1,4 +1,27 @@
|
||||
# Keep docs and editor junk out of $HOME when stowing.
|
||||
# NOTE: this file REPLACES stow's default ignore list, so common
|
||||
# defaults are repeated here on purpose.
|
||||
# This file REPLACES stow's built-in default ignore list, so the useful
|
||||
# defaults are repeated here on purpose. Transcribed from Stow.pm
|
||||
# (stow 2.4.1) plus a few macOS/editor extras. Re-check on stow upgrades.
|
||||
|
||||
# --- this package's housekeeping ---
|
||||
README.md
|
||||
^local$
|
||||
.zsh/completions
|
||||
.zsh/local
|
||||
|
||||
# --- Git ---
|
||||
\.git
|
||||
\.gitignore
|
||||
\.gitmodules
|
||||
|
||||
# --- editor / OS junk (stow defaults + extras) ---
|
||||
.+~ # emacs backup files
|
||||
\#.*\# # emacs autosave files
|
||||
\.DS_Store # macOS Finder junk
|
||||
\._.+ # macOS AppleDouble files
|
||||
\.sw[a-z] # vim/neovim swap files
|
||||
.*\.sw[a-z]
|
||||
|
||||
# --- docs stow would otherwise link into $HOME (stow defaults) ---
|
||||
^/README.*
|
||||
^/LICENSE.*
|
||||
^/COPYING
|
||||
Reference in new issue
Block a user