diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-01 15:19:57 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-01 15:19:57 +1200 |
commit | 1c36c6da62ede309b6058d8238d6fd7727bdb35d (patch) | |
tree | 4df7f997133fc16bb554e22aa3cd408ab2943573 /bin/td | |
parent | Add missing newline to td(1) error (diff) | |
download | dotfiles-1c36c6da62ede309b6058d8238d6fd7727bdb35d.tar.gz dotfiles-1c36c6da62ede309b6058d8238d6fd7727bdb35d.zip |
Remove unused variable in td(1)
Diffstat (limited to 'bin/td')
-rwxr-xr-x | bin/td | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,10 +1,9 @@ #!/bin/sh # Manage to-do files with just $EDITOR and git(1) -# Specify the path to the file +# Specify the path and file dir=${TODO_DIR:-$HOME/Todo} file=${1:-${TODO_NAME:-todo}} -path="$dir"/"$file" # If the directory doesn't exist, create it [ -d "$dir" ] || mkdir -p -- "$dir" || exit |