summaryrefslogtreecommitdiffstats
path: root/.zshrc
blob: c50c0735b5c5dc35173e7dc0af6612880d43e40c (plain) (blame)
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
export ZSH="/home/jokler/.oh-my-zsh"
export RUSTFLAGS="-C link-arg=-fuse-ld=lld"
export RUST_BACKTRACE=full

eval "$(starship init zsh)"

plugins=(git cargo rust ripgrep wd)

source $ZSH/oh-my-zsh.sh
source /usr/share/zsh/scripts/zplug/init.zsh
source /usr/share/doc/pkgfile/command-not-found.zsh
source /home/jokler/.config/broot/launcher/bash/br

zplug 'wfxr/forgit'
zplug 'Tarrasch/zsh-bd'
zplug load

alias rm="/usr/bin/rm -I"
alias mv="/usr/bin/mv -i"

alias ls="/usr/bin/exa --git"
alias cp="/usr/bin/rsync -pog -hhh --info=progress2 --no-inc-recursive"

alias cal="/usr/bin/cal -m"

alias config="/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"
alias hfzf="fc -El 0 | fzf --tac"
alias unexport="unset"

alias zshrc="${=EDITOR} ~/.zshrc"
alias i3config="${=EDITOR} ~/.config/i3/config"
alias polyconfig="${=EDITOR} ~/.config/polybar/config"