Distributed Shell History
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.
 
 
 

9 lines
235 B

# Place this in your ~/.bashrc file
function log() {
/home/wes/code/shelltalk/client.py -W "$$" "$(history 1)" > /dev/null 2>&1 & disown "$!"
}
/home/wes/code/shelltalk/client.py -S $$
export PROMPT_COMMAND="$PROMPT_COMMAND; log"