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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ tf-next () {
    if [ -z "${next}" ]
    then
        red "Last workspace."
        return
        return 1
    fi
    tf workspace select "$next"
}