+9
-9
.zshrc
+9
-9
.zshrc
···
2
2
# export PATH=$HOME/bin:/usr/local/bin:$PATH
3
3
4
4
export EDITOR=nvim
5
-
6
5
export PATH=$PATH:/home/hailey/go/bin
7
6
8
-
export ZSH="$HOME/.oh-my-zsh"
9
-
10
-
ZSH_THEME="gnzh"
7
+
eval "$(starship init zsh)"
11
8
12
9
plugins=(
13
10
git
14
11
archlinux
15
12
)
16
13
17
-
export RPS1=''
14
+
# Set-up FZF key bindings (CTRL R for fuzzy history finder)
15
+
source <(fzf --zsh)
18
16
19
-
source $ZSH/oh-my-zsh.sh
20
17
source /usr/share/zsh/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh
21
18
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
22
19
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
23
20
21
+
bindkey '^f' autosuggest-accept
22
+
24
23
# Check archlinux plugin commands here
25
24
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/archlinux
26
25
···
35
34
alias ls='eza -a --icons'
36
35
alias ll='eza -al --icons'
37
36
alias lt='eza -a --tree --level=1 --icons'
38
-
39
-
# Set-up FZF key bindings (CTRL R for fuzzy history finder)
40
-
source <(fzf --zsh)
41
37
42
38
HISTFILE=~/.zsh_history
43
39
HISTSIZE=10000
···
54
50
alias gs='git status'
55
51
alias gd='git pull'
56
52
alias diff='git diff'
53
+
alias ga='git add'
54
+
alias gp='git pull'
57
55
58
56
alias tswitch='sudo tailscale switch'
59
57
alias ts='sudo tailscale'o
···
75
73
alias lsl='ls -l'
76
74
77
75
alias geoip='uv run --project /home/hailey/bsky/ipres /home/hailey/bsky/ipres/main.py'
76
+
77
+
alias cat='bat'
78
78
79
79
source /usr/share/nvm/init-nvm.sh
80
80
source /etc/profile.d/google-cloud-cli.sh
+33
-4
nvim/init.lua
+33
-4
nvim/init.lua
···
521
521
})
522
522
end,
523
523
},
524
-
ty = {
525
-
cmd = { "uv", "run", "ty", "server" },
524
+
pyright = {
525
+
before_init = function(_, config)
526
+
config.settings.python = vim.tbl_deep_extend("force", config.settings.python or {}, {
527
+
pythonPath = get_python_path(config.root_dir),
528
+
})
529
+
end,
530
+
settings = {
531
+
python = {
532
+
analysis = {
533
+
typeCheckingMode = "strict",
534
+
diagnosticMode = "workspace",
535
+
useLibraryCodeForTypes = true,
536
+
autoSearchPaths = true,
537
+
autoImportCompletions = true,
538
+
diagnosticSeverityOverrides = {
539
+
reportMissingTypeStubs = "none",
540
+
reportGeneralTypeIssues = "warning",
541
+
reportOptionalMemberAccess = "none",
542
+
},
543
+
stubPath = "typings",
544
+
ignore = { "**/node_modules", "**/__pycache__", "**/venv", "**/.venv" },
545
+
},
546
+
linting = {
547
+
enabled = false,
548
+
},
549
+
},
550
+
},
551
+
on_attach = function(client, bufnr)
552
+
-- Disable formatting capabilities for Pyright (let ruff handle it)
553
+
client.server_capabilities.documentFormattingProvider = false
554
+
client.server_capabilities.documentRangeFormattingProvider = false
555
+
end,
526
556
},
527
557
}
528
558
···
556
586
"prettierd",
557
587
"reorder-python-imports",
558
588
"htmlhint",
559
-
-- "pyright",
560
-
"ty",
589
+
"pyright",
561
590
"ruff",
562
591
"rust_analyzer",
563
592
})
+26
starship.toml
+26
starship.toml
···
1
+
[aws]
2
+
disabled = true
3
+
4
+
[gcloud]
5
+
disabled = true
6
+
7
+
[sudo]
8
+
disabled = false
9
+
10
+
[os]
11
+
disabled = false
12
+
13
+
[localip]
14
+
disabled = false
15
+
ssh_only = false
16
+
17
+
[hostname]
18
+
ssh_only = false
19
+
format = '[$ssh_symbol$hostname]($style) @ '
20
+
21
+
[memory_usage]
22
+
disabled = false
23
+
24
+
[username]
25
+
show_always = true
26
+
format = '[$user]($style) on '