-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
48 lines (37 loc) · 1.69 KB
/
.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
# XDG Base Directory Specification defines standard folders to store configuration, cache, data, and state files.
# Ensure that applications store their files in the right places under our home directory.
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_RUNTIME_DIR="$HOME/.cache/runtime"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export PATH="$HOME/.composer/vendor/bin:$PATH"
export PATH="/Users/dev/Library/Application Support/Herd/bin:$PATH"
# Define paths for default package files used by the 'mise' application.
export MISE_RUBY_DEFAULT_PACKAGES_FILE="$XDG_CONFIG_HOME/mise/.default-gems"
export MISE_NODE_DEFAULT_PACKAGES_FILE="$XDG_CONFIG_HOME/mise/.default-npm-packages"
export ZSH="$HOME/.oh-my-zsh"
export BAT_THEME="1337"
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='nvim'
fi
export MISE_RUBY_DEFAULT_PACKAGES_FILE="$XDG_CONFIG_HOME/mise/.default-gems"
export MISE_NODE_DEFAULT_PACKAGES_FILE="$XDG_CONFIG_HOME/mise/.default-npm-packages"
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
plugins=(zsh-syntax-highlighting git rails)
zstyle ':omz:update' mode reminder
source $ZSH/oh-my-zsh.sh
source $HOME/.p10k.zsh
source ~/powerlevel10k/powerlevel10k.zsh-theme
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
eval "$(fzf --zsh)"
eval "$(mise activate)"
alias dot="cd ~/github/dotfiles"
alias kick="NVIM_APPNAME=nvim-kickstart nvim"
# Herd injected PHP 8.4 configuration.
export HERD_PHP_84_INI_SCAN_DIR="/Users/dev/Library/Application Support/Herd/config/php/84/"