depth=$( ( $(dirs -v | wc -l) -1) )
is another, inferior solution.
(I'm just trying to get 50 reputation so that I can comment something actually helpful that I discovered for a different post)
depth=$( ( $(dirs -v | wc -l) -1) )
is another, inferior solution.
(I'm just trying to get 50 reputation so that I can comment something actually helpful that I discovered for a different post)