|
|
@ -13,4 +13,5 @@ check_tag(){ tagName="$1" ; [[ "$tagName" = "${tagName%[[:space:]]*}" ]] && echo
|
|
|
|
check_root ; create_nDir
|
|
|
|
check_root ; create_nDir
|
|
|
|
[[ $# -eq 0 ]] && get_tagListRecentUseOrder
|
|
|
|
[[ $# -eq 0 ]] && get_tagListRecentUseOrder
|
|
|
|
[[ $# -eq 1 ]] && [[ $(check_tag "$1") -eq 1 ]] && echo "bad tag name . Please try again without spaces." && exit
|
|
|
|
[[ $# -eq 1 ]] && [[ $(check_tag "$1") -eq 1 ]] && echo "bad tag name . Please try again without spaces." && exit
|
|
|
|
[[ $# -eq 1 ]] && create_tag "$nDir" "$1" && $editor $nDir/$1
|
|
|
|
[[ $# -eq 1 ]] && create_tag "$nDir" "$1"
|
|
|
|
|
|
|
|
[[ $# -eq 1 ]] && $editor $nDir/$1
|
|
|
|