1
0
mirror of https://github.com/Morantron/tmux-fingers.git synced 2024-06-22 07:06:43 +02:00
tmux-fingers/scripts/debug.sh

11 lines
240 B
Bash
Raw Normal View History

2016-05-02 21:15:29 +02:00
#!/usr/bin/env bash
2016-04-30 00:35:52 +02:00
2016-05-01 19:01:28 +02:00
# Source this file and call `tail -f fingers.log` when you don't know WTF is
# going on.
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2016-04-30 00:35:52 +02:00
function log() {
2016-05-02 21:15:29 +02:00
echo "$1" >> "$CURRENT_DIR/../fingers.log"
2016-04-30 00:35:52 +02:00
}