-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
70 lines (58 loc) · 1.59 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Git Aliases
alias gl='git log'
alias gs='git status'
alias ga='git add'
alias gc='git commit'
alias gcm='git commit -m'
alias gf='git fetch --prune'
alias gg='lazygit'
alias gP='git push'
alias gp='git pull'
alias gm='git merge'
alias gr='git restore'
alias gR='git reset'
# Linux Aliases
alias cat='bat'
alias cd='z'
alias ls='ls --color=auto'
alias ll='ls -laF'
alias ff='fzf'
alias mk='function _mk(){ mkdir "$1" && cd "$1"; };_mk'
# Python Aliases
alias python='python3'
alias pip='pip3'
# Tmux Aliases
alias tm='tmux'
alias tn='tmux new -s'
alias ta='tmux a'
alias tt='tmux a -t'
alias tl='tmux ls'
# Docker Aliases
alias dockerclear='docker ps -qa | xargs docker rm -f'
alias dockerprune='docker network prune -f && docker volume prune -f'
alias dok='docker'
alias dom='docker compose'
alias dup='docker compose up -d --build'
alias down='docker compose down'
# Bun
[ -s "/Users/christian/.bun/_bun" ] && source "/Users/christian/.bun/_bun"
[ -s "/Users/christiandecker/.bun/_bun" ] && source "/Users/christiandecker/.bun/_bun"
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
export PATH="/usr/local/sbin:$PATH"
# Bun Aliases
alias bd='bun dev -- --open'
# Starship
eval "$(starship init zsh)"
# Zoxide
eval "$(zoxide init zsh)"
# fzf
source <(fzf --zsh)
# Colima
export DOCKER_HOST=unix:///$HOME/.colima/docker.sock
# Activate syntax highlighting
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Disable underline
(( ${+ZSH_HIGHLIGHT_STYLES} )) || typeset -A ZSH_HIGHLIGHT_STYLES
ZSH_HIGHLIGHT_STYLES[path]=none
ZSH_HIGHLIGHT_STYLES[path_prefix]=none