Skip to content

Commit 0956ccf

Browse files
committed
Add hookrc
1 parent 05fbb20 commit 0956ccf

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.profile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
# for ssh logins, install and configure the libpam-umask package.
99
#umask 022
1010

11+
# Preloader
12+
if [ -f ~/.hookrc ]
13+
then
14+
. "${HOME}/.hookrc"
15+
fi
16+
1117
# User bin
1218
if [ -d ~/bin ]
1319
then
@@ -27,11 +33,6 @@ else
2733
export TERM='xterm-color'
2834
fi
2935

30-
# set PATH so it includes user's private bin if it exists
31-
if [ -d "$HOME/bin" ] ; then
32-
PATH="$HOME/bin:$PATH"
33-
fi
34-
3536
alias ll='ls -alh'
3637
alias mjson='echo $1 | python -mjson.tool'
3738
# With python pygments
@@ -100,4 +101,4 @@ fi
100101
# lshow 4 file1.txt file2.txt
101102
lshow() {
102103
head -n $1 $2 | tail -n 1 && head -n $1 $3 | tail -n 1
103-
}
104+
}

0 commit comments

Comments
 (0)