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
Branches
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ tf-next () { ...@@ -16,7 +16,7 @@ tf-next () {
if [ -z "${next}" ] if [ -z "${next}" ]
then then
red "Last workspace." red "Last workspace."
return return 1
fi fi
tf workspace select "$next" tf workspace select "$next"
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment