1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-05-14 20:09:26 +02:00

Jobs in ps1, renamed bashrc to bash/rc

This commit is contained in:
Eric-Teunis de Boone 2016-10-11 23:18:39 +02:00
parent da8ef4041a
commit 8fc77963e6
6 changed files with 32 additions and 7 deletions

View file

@ -1,3 +1,13 @@
# ~/.bash_profile
[ -z "$DOTFILES" ] && source "$HOME/.profile"
[ -r "$HOME/.bash_profile.local" ] && source "$HOME/.bash_profile.local"
if shopt -q login_shell
then
# This is a bash login shell
LOGINHISTORY=~/.login.history
LOGINSTRING="$(date) ${USER}@${HOSTNAME}"
echo $LOGINSTRING > $LOGINHISTORY
fi