File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 1
- # Starship prompt
2
- eval " $( starship init zsh) "
3
-
4
1
# Oh My Zsh core
5
2
export ZSH=" $HOME /.oh-my-zsh"
6
3
plugins=(git gh)
7
4
source $ZSH /oh-my-zsh.sh
8
5
6
+ # Starship prompt
7
+ eval " $( starship init zsh) "
8
+
9
9
# GPG: set TTY only if gpg is installed
10
10
if command -v gpg > /dev/null 2>&1 ; then
11
11
export GPG_TTY=$( tty)
12
12
fi
13
13
14
- # Optional: set default editor to VS Code if installed
15
- if command -v code > /dev/null 2>&1 ; then
16
- export EDITOR=" code"
17
- fi
18
-
19
14
# Optional: enable Warp shell block title if running in Warp
20
15
if [[ " $TERM_PROGRAM " == " WarpTerminal" ]]; then
21
16
export WARP_ENABLE_SHELL_BLOCK_TITLE=true
@@ -51,9 +46,9 @@ if command -v pyenv >/dev/null 2>&1; then
51
46
eval " $( pyenv init -) "
52
47
fi
53
48
54
- # Poetry completions (if poetry is installed )
49
+ # Poetry completions (safe and clean )
55
50
if command -v poetry > /dev/null 2>&1 ; then
56
- eval " $( poetry completions zsh) "
51
+ fpath+=( " ${ZDOTDIR :- $HOME } /.local/share/pypoetry/ completions/ zsh" )
57
52
fi
58
53
59
54
# Rust (if installed)
You can’t perform that action at this time.
0 commit comments