-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile
40 lines (31 loc) · 1.48 KB
/
profile
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
# ---------------------------------------------------------------------+
# file: .profile +
# author: Ypnose - http://ywstd.fr +
# ---------------------------------------------------------------------+
# -- ENVIRONMENT -------------------------------------------------------
umask 077
# -- RYPP --------------------------------------------------------------
RYPP_DEST="/opt/rypp"
RYPP_REPO="http://ywstd.fr/repo"
# -- *PATH -------------------------------------------------------------
[[ -d ${RYPP_DEST}/bin ]] && PATH="${RYPP_DEST}/bin:${PATH}"
[[ -d ${HOME}/.yusr/bin ]] && PATH="${PATH}:${HOME}/.yusr/bin"
[[ -d ${HOME}/.local/bin ]] && PATH="${PATH}:${HOME}/.local/bin"
CDPATH=".:${HOME}"
MANPATH=":${RYPP_DEST}/man"
# -- EDITOR ------------------------------------------------------------
EDITOR=vi
VISUAL="$EDITOR"
# -- LESS --------------------------------------------------------------
PAGER=less
LESS="-KLRx4"
LESSHISTFILE="-"
# -- XDG ---------------------------------------------------------------
XDG_CACHE_HOME="/tmp"
# -- EXPORT ------------------------------------------------------------
export RYPP_DEST RYPP_REPO PATH CDPATH MANPATH \
EDITOR VISUAL PAGER LESS LESSHISTFILE XDG_CACHE_HOME
# -- VARIOUS -----------------------------------------------------------
unset HISTFILE
# -- NOFUDIRS ----------------------------------------------------------
[[ -d ${HOME}/Desktop ]] && rm -r "${HOME}/Desktop"