-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zshrc
66 lines (53 loc) · 1.88 KB
/
dot_zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Load Powerlevel10k theme before Oh My Zsh
ZSH_THEME="powerlevel10k/powerlevel10k"
source $(brew --prefix)/share/powerlevel10k/powerlevel10k.zsh-theme
# Oh My Zsh configuration
zstyle :omz:plugins:iterm2 shell-integration yes
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
plugins=(
1password
brew
command-not-found
composer
eza
fzf
git
gh
iterm2
httpie
laravel
npm
nvm
rust
sudo
svn
vscode
wp-cli
yarn
)
# Source additional configuration files
for config_file in ~/.zsh_aliases ~/.zsh_functions ~/.zsh_exports; do
if [[ -f "$config_file" ]]; then
source "$config_file"
fi
done
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
# Herd injected PHP 8.3 configuration.
export HERD_PHP_83_INI_SCAN_DIR="/Users/dbr/Library/Application Support/Herd/config/php/83/"
# Herd injected PHP 8.2 configuration.
export HERD_PHP_82_INI_SCAN_DIR="/Users/dbr/Library/Application Support/Herd/config/php/82/"
# Herd injected PHP 8.4 configuration.
export HERD_PHP_84_INI_SCAN_DIR="/Users/dbr/Library/Application Support/Herd/config/php/84/"
# Herd injected PHP 8.1 configuration.
export HERD_PHP_81_INI_SCAN_DIR="/Users/dbr/Library/Application Support/Herd/config/php/81/"
# Herd injected PHP 8.0 configuration.
export HERD_PHP_80_INI_SCAN_DIR="/Users/dbr/Library/Application Support/Herd/config/php/80/"
# Herd injected PHP 7.4 configuration.
export HERD_PHP_74_INI_SCAN_DIR="/Users/dbr/Library/Application Support/Herd/config/php/74/"