Remove meaningless 'local' declaration at top-level

This commit is contained in:
Danielle McLean 2016-10-04 23:35:29 +11:00
parent daa5fdd7c1
commit a324ca62c8
No known key found for this signature in database
GPG key ID: CC91589719027E94

View file

@ -83,7 +83,7 @@ status() {
: ${DOTFILES:=~/dotfiles} ${STOW:=stow} ${GITHUB_USER:=00dani}
local comm=$1
comm=$1
if (( $# == 0 )); then
if [[ -d $DOTFILES ]]; then
comm=status