-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More wording alterations and code simplification.
- Loading branch information
1 parent
7d8083a
commit 8b91e87
Showing
13 changed files
with
113 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
if array_is_nonempty extension_args | ||
then | ||
if path_exists "${extensions_development_path}/${extension_args[0]}" | ||
then | ||
enter "${extensions_development_path}/${extension_args[0]}" | ||
|
||
os_open "$PWD" | ||
else | ||
error "Failed to open '${extension_args[0]}'; it appears to not be installed." | ||
fi | ||
else | ||
array_is_nonempty extension_args || | ||
fail "You must specify at least one extension name." | ||
fi | ||
|
||
path_exists "${extensions_development_path}/${extension_args[0]}" || | ||
error "Failed to open '${extension_args[0]}'; it appears to not be installed." | ||
|
||
os_open "${extensions_development_path}/${extension_args[0]}" | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
if array_is_nonempty extension_args | ||
array_is_nonempty extension_args || | ||
fail "You must specify at least one extension name." | ||
|
||
if path_exists "${extensions_development_path}/${extension_args[0]}" | ||
then | ||
if path_exists "${extensions_development_path}/${extension_args[0]}" | ||
then | ||
printf "${extensions_development_path}/${extension_args[0]}" | ||
else | ||
printf "." # Stay put! | ||
error "Failed to edit '${extension_args[0]}'; it appears to not be installed." | ||
fi | ||
printf "${extensions_development_path}/${extension_args[0]}" | ||
else | ||
fail "You must specify at least one extension name." | ||
printf "." # Stay put! | ||
error "Failed to edit '${extension_args[0]}'; it appears to not be installed." | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
if array_is_nonempty extension_args | ||
then | ||
enter "${extensions_development_path}/${extension_args[0]}/" | ||
os_open "$PWD" | ||
else | ||
array_is_nonempty extension_args || | ||
fail "You must specify at least one extension name." | ||
fi | ||
|
||
enter "${extensions_development_path}/${extension_args[0]}/" | ||
|
||
os_open "$PWD" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.