blob: 3183d1f365216edf82eb4f656e281b08f533d460 (
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
45
46
47
48
|
export ZSH="$HOME/.config/zsh/ohmyzsh"
ZSH_CACHE="$HOME/.cache/zsh"
CASE_SENSITIVE="false"
HYPHEN_INSENSITIVE="true"
ZSH_COMPDUMP="$ZSH_CACHE/zcompdump-$HOST"
HISTFILE="$ZSH_CACHE/zsh_history"
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)"
|