-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_zshrc
More file actions
103 lines (87 loc) · 1.89 KB
/
dot_zshrc
File metadata and controls
103 lines (87 loc) · 1.89 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
source /usr/share/zsh/share/antigen.zsh
antigen use oh-my-zsh
antigen bundles <<EOBUNDLES
# Bundles from the default repo (robbyrussell's oh-my-zsh)
aliases
ansible
archlinux
chezmoi
command-not-found
common-aliases
composer
copybuffer
copyfile
copypath
docker
docker-compose
encode64
extract
fancy-ctrl-z
fzf
gh
git
helm
isodate
kubectl
laravel
minikube
mise
nmap
npm
perms
pip
rclone
redis-cli
rsync
ssh
ssh-agent
starship
sudo
systemd
tailscale
terraform
tmux
transfer
ufw
web-search
wp-cli
zoxide
# Third party bundles
djui/alias-tips
jasonmccreary/git-trim --branch=main
jessarcher/zsh-artisan
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-autosuggestions
zsh-users/zsh-completions
EOBUNDLES
antigen apply
# Don't auto-connect to tmux when in an SSH session
[[ -n "$SSH_CONNECTION" ]] && ZSH_TMUX_AUTOCONNECT=false
zstyle :omz:plugins:ssh-agent agent-forwarding on
zstyle :omz:plugins:ssh-agent lifetime 4h
# History control
HISTCONTROL=ignoreboth
HISTSIZE=32768
HISTFILESIZE="${HISTSIZE}"
# Ensure command hashing if off for mise
set +h
# Import Omarchy aliases
source ~/.local/share/omarchy/default/bash/aliases
# Import our own aliases
source $HOME/.aliases
# Fix alias clashes with Omarchy Git Worktrees functions
unalias ga
alias gadd='git add'
unalias gd
alias gdiff='git diff'
# Import Omarchy base functions and envs
source ~/.local/share/omarchy/default/bash/envs
source ~/.local/share/omarchy/default/bash/functions
# Override omachy 'c' alias
alias c='composer'
if command -v try &> /dev/null; then
eval "$(try init ~/Work/tries)"
fi
export PATH="$HOME/.config/composer/vendor/bin:$HOME/.local/bin:$HOME/bin:$HOME/.opencode/bin:$PATH"
# opencode
export PATH=/home/jamesking56/.opencode/bin:$PATH