added function metadata

pull/667/head
cornfeedhobo 2016-04-03 12:05:39 -05:00
parent 92dce20e3c
commit 34b5f4dd44
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,12 @@
cite about-plugin cite about-plugin
about-plugin 'cdup - traverse parent directories with ease. inspired by a script from tyskby' about-plugin 'traverse parent directories with ease. inspired by a script from tyskby'
cdup() { cdup() {
about 'moves n directories up'
param '1: n periods'
example '$ cdup .....'
group 'cdup'
if [[ $1 =~ .{2,} ]]; then if [[ $1 =~ .{2,} ]]; then
local count local count