Skip to content

Commit 19279dd

Browse files
committed
feat(theme): setup agnoster as zsh theme
1 parent a05add8 commit 19279dd

File tree

3 files changed

+86
-16
lines changed

3 files changed

+86
-16
lines changed

os/mac/iterm/com.googlecode.iterm2.plist

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>AIFeatureFunctionCalling</key>
6+
<true/>
7+
<key>AIFeatureHostedCodeInterpeter</key>
8+
<true/>
9+
<key>AIFeatureHostedFileSearch</key>
10+
<true/>
11+
<key>AIFeatureHostedWebSearch</key>
12+
<true/>
13+
<key>AIFeatureStreamingResponses</key>
14+
<true/>
15+
<key>AITermAPI</key>
16+
<integer>2</integer>
17+
<key>AIVectorStore</key>
18+
<integer>1</integer>
519
<key>AboutToPasteTabsWithCancel</key>
620
<true/>
721
<key>AboutToPasteTabsWithCancel_selection</key>
@@ -21,6 +35,14 @@
2135
</array>
2236
<key>AdjustWindowForFontSizeChange</key>
2337
<true/>
38+
<key>AiMaxTokens</key>
39+
<integer>1000000</integer>
40+
<key>AiModel</key>
41+
<string>gpt-4.1</string>
42+
<key>AiResponseMaxTokens</key>
43+
<integer>32768</integer>
44+
<key>AitermURL</key>
45+
<string>https://api.openai.com/v1/responses</string>
2446
<key>AllowClipboardAccess</key>
2547
<false/>
2648
<key>AlternateMouseScroll</key>
@@ -3171,7 +3193,7 @@
31713193
<key>Normal Font</key>
31723194
<string>CascadiaCodeNF-Regular 16</string>
31733195
<key>Only The Default BG Color Uses Transparency</key>
3174-
<false/>
3196+
<true/>
31753197
<key>Open Toolbelt</key>
31763198
<false/>
31773199
<key>Option Key Sends</key>

shell/zsh/.zimrc

Lines changed: 60 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,67 @@
11
# If you modify this execute `zimfw uninstall & zimfw install`
22

3-
zmodule zimfw/prompt-pwd
4-
zmodule zimfw/git-info
5-
zmodule zimfw/duration-info
3+
#
4+
# Modules
5+
#
6+
# Sets sane Zsh built-in environment options.
67
zmodule zimfw/environment
7-
zmodule zsh-users/zsh-autosuggestions
8-
zmodule zsh-users/zsh-completions
9-
zmodule zsh-users/zsh-syntax-highlighting
10-
zmodule Aloxaf/fzf-tab
11-
zmodule wfxr/forgit
12-
zmodule zimfw/archive
8+
# Provides handy git aliases and functions.
139
zmodule zimfw/git
14-
zmodule zimfw/gitster
15-
zmodule zimfw/homebrew
10+
# Applies correct bindkeys for input events.
1611
zmodule zimfw/input
12+
# Sets a custom terminal title.
13+
zmodule zimfw/termtitle
14+
# Utility aliases and functions. Adds colour to ls, grep and less.
15+
zmodule zimfw/utility
16+
# Provides archive and unarchive functions for easy archive manipulation.
17+
zmodule zimfw/archive
18+
# Adds aliases for Homebrew.
19+
zmodule zimfw/homebrew
20+
# Figures out where to get the best help, and gets it.
1721
zmodule zimfw/run-help
22+
# Provides a convenient way to load ssh-agent.
1823
zmodule zimfw/ssh
19-
zmodule zimfw/utility
20-
zmodule zimfw/completion
24+
# Configures fzf for faster fetching of files and directories names.
25+
# zmodule fzf
26+
27+
#
28+
# Third-party modules
29+
#
30+
zmodule Aloxaf/fzf-tab
31+
zmodule Freed-Wu/fzf-tab-source
32+
zmodule wfxr/forgit
33+
zmodule paulirish/git-open
34+
zmodule MichaelAquilina/zsh-you-should-use
35+
zmodule ohmyzsh/ohmyzsh --root plugins/aliases
36+
zmodule ohmyzsh/ohmyzsh --root plugins/dirhistory
37+
zmodule ohmyzsh/ohmyzsh --root plugins/sudo
38+
zmodule ohmyzsh/ohmyzsh --root plugins/brew
39+
zmodule ohmyzsh/ohmyzsh --root plugins/colorize
40+
zmodule ohmyzsh/ohmyzsh --root plugins/command-not-found
41+
42+
#
43+
# Prompt
44+
#
45+
# Formats the current working directory to be used by prompts.
46+
zmodule zimfw/prompt-pwd
47+
# Exposes to prompts how long the last command took to execute.
48+
zmodule zimfw/duration-info
49+
# Exposes git repository status information to prompts.
50+
zmodule zimfw/git-info
51+
# Theme
52+
zmodule agnoster
53+
54+
#
55+
# Completion
56+
#
57+
zmodule zsh-users/zsh-completions --fpath src
58+
zmodule completion
59+
60+
#
61+
# Modules that must be initialized last
62+
#
63+
zmodule ohmyzsh/ohmyzsh --root plugins/git
64+
zmodule ohmyzsh/ohmyzsh --root plugins/cp
65+
zmodule zsh-users/zsh-syntax-highlighting
66+
zmodule zsh-users/zsh-history-substring-search
67+
zmodule zsh-users/zsh-autosuggestions

shell/zsh/.zshrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ if [[ -z $TMUX ]]; then
2727
else
2828
zstyle ':fzf-tab:*' fzf-command ftb-tmux-popup
2929
fi
30+
zstyle ':zim:prompt-pwd' git-root yes
3031

3132
# Configuration
3233
DEFAULT_USER=$(whoami)
33-
COMPLETION_WAITING_DOTS="false"
34+
COMPLETION_WAITING_DOTS=false
3435
ZSH_AUTOSUGGEST_USE_ASYNC=true
3536
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
3637
ZSH_HIGHLIGHT_MAXLENGTH=300
37-
ZSH_DISABLE_COMPFIX="true"
38+
ZSH_DISABLE_COMPFIX=true
3839

3940
# Load completions
4041
fpath=("$DOTFILES_PATH/shell/zsh/completions" "$(brew --prefix)/share/zsh/site-functions" $fpath)

0 commit comments

Comments
 (0)