-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.profile
30 lines (27 loc) · 898 Bytes
/
.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
# shellcheck shell=dash
[ -n "${ZSH_VERSION:-$BASH_VERSION}" ] && . "${HOME:-~}/bin/vlkenv"
# tab_character=' '
# expr "$-" : '.*i' >/dev/null
expr ":$PATH:" : '.*:/usr/bin:.*' >/dev/null 2>&1 || export PATH="${PATH}:/usr/bin"
if [ "${-#*i}" != "$-" ]; then
[ "${HOSTNAME:=$(hostname)}" = "${CURRENT_HOSTNAME:-n}" ] && loginctl list-sessions --no-pager
case "$0" in
*bash)
rcfile="${BDOTDIR:-$HOME}/.bashrc"
;;
*dash)
rcfile="$XDG_CONFIG_HOME/shell/dashrc"
;;
#*zsh)
# rcfile="${ZDOTDIR:=$XDG_CONFIG_HOME/zsh}/.zshrc"
# ;;
esac
[ -f "$rcfile" ] && . "$rcfile"
unset rcfile
#expr "$0" : '.*bash' >/dev/null 2>&1 && . "${BDOTDIR:-$HOME}/.bashrc"
#else
# eval $(set-cursor-theme.sh --shell-eval)
fi
eval $(set-cursor-theme.sh --shell-eval)
#( date +'%X %x'; printenv; ) >~/.logenv
PROFILESOURCED=true