pequeño arreglo para que abra el editor tambien cuando ya existe el tag

master
fanta 4 years ago
parent a2f0d724e1
commit a22579f9d0

3
n

@ -13,4 +13,5 @@ check_tag(){ tagName="$1" ; [[ "$tagName" = "${tagName%[[:space:]]*}" ]] && echo
check_root ; create_nDir
[[ $# -eq 0 ]] && get_tagListRecentUseOrder
[[ $# -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

Loading…
Cancel
Save