projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
taking out /etc/alternatives
[feisty_meow.git]
/
scripts
/
tty
/
label_terminal_with_infos.sh
diff --git
a/scripts/tty/label_terminal_with_infos.sh
b/scripts/tty/label_terminal_with_infos.sh
index 9918c9f025ac691fa8cbc97a0f8546910363c2c0..91c1312038505592c853f2c5160263923a89d799 100644
(file)
--- a/
scripts/tty/label_terminal_with_infos.sh
+++ b/
scripts/tty/label_terminal_with_infos.sh
@@
-3,6
+3,8
@@
# this script makes a new title for the terminal window that matches the
# hostname and some other details.
# this script makes a new title for the terminal window that matches the
# hostname and some other details.
+source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+
pruned_host=$(echo $HOSTNAME | sed -e 's/^\([^\.]*\)\..*$/\1/')
date_string=$(date +"%Y %b %e @ %T")
pruned_host=$(echo $HOSTNAME | sed -e 's/^\([^\.]*\)\..*$/\1/')
date_string=$(date +"%Y %b %e @ %T")