Skip to content
Snippets Groups Projects
Commit 4e98ea15 authored by nimrod's avatar nimrod
Browse files

tf-next: Small fix.

Fail if there is no next workspace, breaks loops.
parent 1e80ec61
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ tf-next () {
if [ -z "${next}" ]
then
red "Last workspace."
return
return 1
fi
tf workspace select "$next"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment