Created
February 21, 2020 20:18
-
-
Save D00MFist/e9ee54594c655fdfeb516bf22e5557a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1='[`date +"%d-%b-%y %T"`] > ' | |
test "$(ps -ocommand= -p $PPID | awk '{print $1}')" == 'script' || (script -f $HOME/logs/$(date +"%d-%b-%y_%H-%M-%S")_shell.log) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment