summaryrefslogtreecommitdiff
path: root/.zshrc
blob: 44335546a92fd210a79a3c2514be4dd782fe91de (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
39
40
41
42
43
44
export ZSH="$HOME/.config/zsh/ohmyzsh"

CASE_SENSITIVE="false"

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="eza"
alias tree="eza --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"

# rust
export RUST_DATA=~/.local/share/rust
export RUSTUP_HOME=$RUST_DATA/rustup
export CARGO_HOME=$RUST_DATA/cargo
source $CARGO_HOME/env

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

eval "$(starship init zsh)"