-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
93 lines (65 loc) · 2.13 KB
/
.zshrc
File metadata and controls
93 lines (65 loc) · 2.13 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
ZSH=$HOME/.oh-my-zsh
export ZSH_THEME="spaceship"
export SPACESHIP_PACKAGE_SHOW=false
export SPACESHIP_NODE_SHOW=false
plugins=(
brew
docker
docker-compose
git
git-extras
rust
pip
)
eval "$(brew shellenv)"
fpath=($HOMEBREW_PREFIX/share/zsh/site-functions $fpath)
source $ZSH/oh-my-zsh.sh
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/local/sbin:/usr/local/scripts:/usr/local/share/npm/bin:/usr/local/texbin:$PATH"
source $HOME/.local/bin/env
export EDITOR='nvim'
# Git Aliases
alias gh=github
alias gx=gitx
alias gd='git diff'
alias grb='git rebase --rebase-merges=rebase-cousins'
# Docker Clean Containers - Removes all stopped containers
alias dcc='docker rm $(docker ps -a -q)'
# Docker Clean Images - Remove the <none> images
alias dci='docker rmi $(docker images -a | grep "^<none>" | awk '\''{if (NR!=1) {print $3}}'\'')'
# Docker kill all running containers
alias dka='docker kill $(docker ps | awk '\''{if (NR!=1) {print $1}}'\'')'
alias dk="dka; dcc;"
# Run docker-compose process with --rm
alias dcr='docker-compose run '
alias dcrr='docker-compose run --rm'
# SSH, This makes it so you don't have to type your ssh private key passphrase after a reboot
ssh-add -K ~/.ssh/id_rsa &> /dev/null
# DOCKER SETTINGS
export COMPOSE_DOCKER_CLI_BUILD=1
export DOCKER_BUILDKIT=1
# # Initialize direnv
# eval "$(direnv hook zsh)"
# export PATH=/opt/homebrew/bin:$PATH
alias o='ollama'
alias urp='uv run python'
# Added by LM Studio CLI (lms)
export PATH="$PATH:/Users/thomaslazarus/.lmstudio/bin"
# End of LM Studio CLI section
alias cr='cargo r'
alias cc='cargo c'
alias ct='cargo t'
alias cb='cargo b'
. "$HOME/.local/bin/env"
alias jg='just -g'
alias t='tmux'
alias activate='source .venv/bin/activate'
# Added by LM Studio CLI (lms)
export PATH="$PATH:/Users/thoamslazarus/.lmstudio/bin"
# End of LM Studio CLI section
# The following lines have been added by Docker Desktop to enable Docker CLI completions.
fpath=(/Users/thoamslazarus/.docker/completions $fpath)
autoload -Uz compinit
compinit
# End of Docker CLI completions
source /Users/lazarust/.config/op/plugins.sh
alias lg="lazygit -ucf $HOME/.config/lazygit/config.yml"