summaryrefslogtreecommitdiff
path: root/.zshrc
blob: 62c7425e22c544da19aea78d16b1a78aa1d7a9fe (plain)
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
export ZSH="$HOME/.config/zsh/ohmyzsh"

CASE_SENSITIVE="true"

HYPHEN_INSENSITIVE="true"

HIST_STAMPS="dd.mm.yyyy"

plugins=(git gitfast)

source $ZSH/oh-my-zsh.sh
source /etc/profile.d/autojump.zsh

export EDITOR=nvim
export AUR_PAGER=$EDITOR

alias vim=$EDITOR

alias ls="exa"
alias tree="exa --tree"

alias ip="ip --color=auto"

export GRIM_DEFAULT_DIR=~/Images/Screenshots

# nnn
export NNN_FIFO=/tmp/nnn.fifo
export NNN_PLUG='p:preview-tui'
export NNN_TERMINAL=$TERM
export NNN_TRASH=1 # trash-cli
alias nnn="nnn -a -A -d -D -i -U"

# nix
alias nix-shell="nix-shell --run \$SHELL"

export PATH=$PATH:~/.local/bin

eval "$(starship init zsh)"