-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshenv
67 lines (55 loc) · 2.67 KB
/
.zshenv
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# ********************** DEFAULT APPLICATIONS **********************
export EDITOR="nvim"
export VISUAL="nvim"
export SUDO_EDITOR="nvim"
# ********************** SCRIPTS **********************
export PATH="$PATH:$HOME/bin:/home/david/Nextcloud/Main/Further-Dotfiles/bin/"
# ********************** DOCKER **********************
export DOCKER_FORMAT="ID\t{{.ID}}\nNAME\t{{.Names}}\nImage\t{{.Image}}\nPORTS\t{{.Ports}}\nCOMMAND\t{{.Command}}\nCREATED\t{{.CreatedAt}}\nSTATUS\t{{.Status}}\n"
# ********************** NNN **********************
BLK="0B" CHR="0B" DIR="04" EXE="06" REG="00" HARDLINK="06" SYMLINK="06" MISSING="00" ORPHAN="09" FIFO="06" SOCK="0B" OTHER="06"
export NNN_FCOLORS="$BLK$CHR$DIR$EXE$REG$HARDLINK$SYMLINK$MISSING$ORPHAN$FIFO$SOCK$OTHER"
export NNN_PLUG="j:autojump;s:suedit;p:preview-tui;d:dragdrop;i:imgview"
export NNN_FIFO="/tmp/nnn.fifo"
export NNN_TMPFILE=/tmp/.lastd
# ********************** BAT (man page replacment) **********************
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export MANROFFOPT="-c"
# ********************** FZF **********************
MY_FD_OPTIONS="fd --color=never --hidden --exclude .git"
export FZF_DEFAULT_COMMAND="git ls-files --cached --others --exclude-standard |
$MY_FD_OPTIONS --type f"
export FZF_DEFAULT_OPTS="
--color=dark
--color=fg:-1,bg:-1,hl:#5fff87,fg+:-1,bg+:-1,hl+:#ffaf5f
--color=info:#af87ff,prompt:#5fff87,pointer:#ff87d7,marker:#ff87d7,spinner:#ff87d7
--height=60%
--layout=reverse
--border
--multi
--info=inline
--cycle
"
export FZF_CTRL_T_COMMAND="$MY_FD_OPTIONS --type f"
export FZF_CTRL_T_OPTS="--preview 'bat --color=always --line-range :50 {}'"
export FZF_ALT_C_COMMAND="$MY_FD_OPTIONS --type d"
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -80'"
# ********************** SET THEME **********************
export QT_QPA_PLATFORMTHEME=qt5ct
# ********************** CARGO **********************
export PATH="/home/david/.cargo/bin:$PATH"
# ********************** GO **********************
export GOPATH="/home/david/.local/share/go"
export PATH="$GOPATH/bin:$PATH"
# ********************** PIPX **********************
export PATH="$PATH:/home/david/.local/bin"
# ********************** FCITX5 **********************
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export SDL_IM_MODULE=fcitx # for some games
export GLFW_IM_MODULE=ibus # for kitty
# ********************** TMUXINATOR **********************
export TMUXINATOR_CONFIG="/home/david/Nextcloud/Main/Further-Dotfiles/share/tmuxinator"
# ********************** ADDITIONAL ENV VARIABLES **********************
source /home/david/Nextcloud/Main/Further-Dotfiles/config/environment_variables