-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprofile
37 lines (31 loc) · 816 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
31
32
33
34
35
36
37
# -*-sh-*-
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:\
$HOME/bin; export PATH
export BLOCKSIZE=K
export EDITOR=emacsclient
export PAGER=more
export CDPATH=.:$HOME:$HOME/projects
export HISTEDIT='emacsclient -a vi'
export PAPERSIZE=A4
# Define colors for the output of ls in a dark background.
export CLICOLOR=yes
if [ "$TERM" = cons25 ]; then
LSCOLORS="AxHxcxdxhxefgxAHahBxbx"
else
LSCOLORS="hxHxcxdxAxefgxAHahBxbx"
fi
export LSCOLORS
# ksh will look for ~/.kshrc for interactive shell if ENV is not
# set. Set it only for the other shells.
case ${SHELL##*/} in
ksh93|ksh2020)
;;
*)
export ENV=$HOME/.shrc;;
esac
if uname -v | grep Ubuntu 2>&1 >/dev/null; then
export PATH=$PATH:/snap/bin
fi
if [ -x /usr/games/fortune ]; then
fortune
fi