You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
221 B
10 lines
221 B
5 years ago
|
# Place this in your ~/.bashrc file
|
||
|
|
||
|
function log() {
|
||
|
/home/wes/code/shelltalk/client.py -W "$$" "$(history 1)" > /dev/null 2>&1
|
||
|
}
|
||
|
|
||
|
/home/wes/code/shelltalk/client.py -S $$
|
||
|
|
||
|
export PROMPT_COMMAND="$PROMPT_COMMAND; log"
|