-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
34 lines (31 loc) · 904 Bytes
/
bashrc
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
# .bashrc
# User specific aliases and functions
PS1='[\t]\u@\h:\w$ '
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Login greeting ------------------
#f running interactively, then:
#if [ "$PS1" ]; then
# # Login greeting ------------------
# if [ ! $SHOWED_SCREEN_MESSAGE ]; then
# detached_screens=`screen -list | sed -n 's/^\(.*\)(Detached)$/|\1|/gp'`
# if [ ! -z "$detached_screens" ]; then
# echo ""
# echo "+---------------------------------------+"
# echo "| Detached screens are available: |"
# echo -n "$detached_screens"
# echo
# echo "+---------------------------------------+"
# echo ""
# else
# echo ""
# echo "+-----------------------------------------+"
# echo "[ There are no detached screens available ]"
# echo "+-----------------------------------------+"
# echo ""
# fi
# export SHOWED_SCREEN_MESSAGE="true"
# fi
#fi