Skip to content

Commit

Permalink
show usage when user just types vimsw.
Browse files Browse the repository at this point in the history
  • Loading branch information
taeguk committed Mar 26, 2016
1 parent a937476 commit 0705b45
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions vimsw
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash

VERSION="0.0.1"
VERSION="0.0.2"
AUTHOR="taeguk (http://taeguk.me)"

# global constants
VIMSW_DIR="$HOME/.vimsw"
Expand Down Expand Up @@ -269,10 +270,10 @@ not_install_msg() {
execute() {
if [ $# -eq 0 ]; then
if [ $installed -eq 0 ]; then
show_usage;
return 1;
show_usage
return 1
fi
show_list
show_usage
return 0
fi

Expand Down

0 comments on commit 0705b45

Please sign in to comment.