Remove redundant code
This commit is contained in:
1
todo.sh
1
todo.sh
@@ -349,7 +349,6 @@ action=$( printf "%s\n" "$1" | tr 'A-Z' 'a-z' )
|
|||||||
if [ "$action" == command ]
|
if [ "$action" == command ]
|
||||||
then
|
then
|
||||||
shift
|
shift
|
||||||
action=$( printf "%s\n" "$1" | tr 'A-Z' 'a-z' )
|
|
||||||
elif [ -d "$HOME/.todo.actions.d" -a -x "$HOME/.todo.actions.d/$action" ]
|
elif [ -d "$HOME/.todo.actions.d" -a -x "$HOME/.todo.actions.d/$action" ]
|
||||||
then
|
then
|
||||||
"$HOME/.todo.actions.d/$action" "$@"
|
"$HOME/.todo.actions.d/$action" "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user