summaryrefslogtreecommitdiff
path: root/.zshrc
blob: 091aae5ba8252210fb2d6860986303bc9fa39a33 (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
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"

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:~/bin

eval "$(starship init zsh)"