-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshenv
143 lines (128 loc) · 4.32 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#!/usr/bin/zsh
################################
### iDigitalFlame 2016-2025 ###
# #
# -/` #
# -yy- :/` #
# ./-shho`:so` #
# .:- /syhhhh//hhs` `-` #
# :ys-:shhhhhhshhhh.:o- ` #
# /yhsoshhhhhhhhhhhyho`:/. #
# `:yhyshhhhhhhhhhhhhh+hd: #
# :yssyhhhhhyhhhhhhhhdd: #
# .:.oyshhhyyyhhhhhhddd: #
# :o+hhhhhyssyhhdddmmd- #
# .+yhhhhyssshdmmddo. #
# `///yyysshd++` #
# #
########## SPACEPORT ###########
## ZSH Environment Configuration
#
# Copyright (C) 2016 - 2025 iDigitalFlame
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
export GOROOT="/usr/lib/go"
export GOPATH="${HOME}/.local/lib/go"
export GOCACHE="${HOME}/.cache/go-build"
export CARGO_HOME="${HOME}/.config/rust/cargo"
export RUSTUP_HOME="${HOME}/.config/rust/rustup"
export GNUPGHOME="${HOME}/.local/share/gnupg"
export SSH_AUTH_SOCK="/run/user/${UID}/gcr/ssh"
export AURDEST="${HOME}/.cache/aur"
export PKGDEST="/var/cache/makepkg"
export SRCDEST="/tmp/.usercache/${USER}/aur/src"
export BUILDDIR="/tmp/.usercache/${USER}/aur/build"
export GTK_RC_FILES="${HOME}/.config/gtk-1.0/gtkrc"
export GTK2_RC_FILES="${HOME}/.config/gtk-2.0/gtkrc"
export PATH=$PATH:${GOPATH}/bin:${HOME}/.config/rust/cargo/bin
export XDG_DESKTOP_DIR="$HOME"
export XDG_CACHE_HOME="${HOME}/.cache"
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_RUNTIME_DIR="/run/user/${UID}"
export XDG_PICTURES_DIR="${HOME}/Pictures"
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_DOWNLOAD_DIR="${HOME}/Downloads"
export XDG_DOCUMENTS_DIR="${HOME}/Documents"
export XDG_STATE_HOME="${HOME}/.local/share"
export XDG_MUSIC_DIR="${HOME}/Documents/Music"
export XDG_VIDEOS_DIR="${HOME}/Documents/Videos"
export XDG_PUBLICSHARE_DIR="${HOME}/Documents/Public"
export XDG_TEMPLATES_DIR="${HOME}/Documents/Templates"
export LESSKEY="${HOME}/.config/lesskey"
export GNUPGHOME="${HOME}/.local/share/gnupg"
export SCREENRC="${HOME}/.config/screen/screenrc"
export SCREENDIR="/tmp/.usercache/${USER}/screen"
export BAT_CONFIG_PATH="${HOME}/.config/bat/config"
export PYTHON_HISTORY="${HOME}/.cache/python_history"
export PYTHONSTARTUP="${HOME}/.local/lib/python_no_history.py"
export XCURSOR_SIZE=24
export PAGER="/usr/bin/less -iR"
export XCURSOR_THEME="MoonlightSky"
export BROWSER="${HOME}/.local/bin/browser"
export VISUAL="/usr/bin/nano -SLlwxiE --tabsize=4"
export EDITOR="/usr/bin/nano -SLlwxiE --tabsize=4"
export ZDOTDIR="${HOME}/.config/zsh"
export ZSH="${HOME}/.local/lib/oh-my-zsh"
export ZSH_COMPDUMP="${HOME}/.cache/zsh/zcompdump"
export HISTSIZE=2500
export SAVEHIST=2500
export ERRFILE="/dev/null"
export LESSHISTFILE="/dev/null"
export HISTFILE="${HOME}/.cache/zsh/history"
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="${HOME}/.config/java"
# ZSH Options (Early set here)
setopt HUP
setopt GLOB_DOTS
setopt AUTO_MENU
setopt AUTO_PUSHD
setopt BAD_PATTERN
setopt SHORT_LOOPS
setopt BAD_PATTERN
setopt LOCAL_TRAPS
setopt PUSHD_SILENT
setopt ALWAYS_TO_END
setopt CLOBBER_EMPTY
setopt PUSHD_IGNORE_DUPS
setopt INTERACTIVE_COMMENTS
unsetopt VI
unsetopt BEEP
unsetopt C_BASES
unsetopt HASH_CMDS
unsetopt HASH_DIRS
unsetopt PATH_DIRS
unsetopt CHECK_JOBS
unsetopt OCTAL_ZEROES
unsetopt ALIAS_FUNC_DEF
unsetopt RM_STAR_SILENT
unsetopt CHECK_RUNNING_JOBS
# History Specific
setopt HIST_VERIFY
setopt HIST_NO_STORE
setopt APPEND_HISTORY
setopt HIST_FCNTL_LOCK
setopt HIST_IGNORE_DUPS
setopt EXTENDED_HISTORY
setopt HIST_SAVE_BY_COPY
setopt HIST_FIND_NO_DUPS
setopt HIST_SAVE_NO_DUPS
setopt HIST_REDUCE_BLANKS
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_EXPIRE_DUPS_FIRST
unsetopt SHARE_HISTORY
unsetopt HIST_LEX_WORDS
unsetopt HIST_IGNORE_SPACE
unsetopt HIST_NO_FUNCTIONS
unsetopt INC_APPEND_HISTORY
unsetopt INC_APPEND_HISTORY_TIME