-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
30 additions
and
107 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
*.gif export-ignore | ||
*.png export-ignore | ||
assets/ export-ignore |
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,19 +1,24 @@ | ||
BINDIR = /usr/local/bin | ||
|
||
.PHONY: build | ||
build: | ||
GOOS= GOARCH= GOARM= GOFLAGS= go build -o ${BINDIR}/_awsd_prompt | ||
BINDIR = /usr/local/bin | ||
|
||
help: ## Show this help | ||
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | ||
|
||
.PHONY: install | ||
install: build | ||
install: ## Install Target | ||
GOOS= GOARCH= GOARM= GOFLAGS= go build -o ${BINDIR}/_awsd_prompt | ||
chmod 755 ${BINDIR}/_awsd_prompt | ||
cp scripts/_awsd ${BINDIR}/_awsd | ||
@echo 'alias awsd="source _awsd"' >> ${HOME}/.zshrc | ||
@echo 'alias awsd="source _awsd"' >> ${HOME}/.bashrc | ||
@echo 'alias awsd="source _awsd"' >> ${HOME}/.bash_profile | ||
@echo " -=-=--=-=-=-=-=-=-=-=-=-=-=-=- " | ||
@echo " " | ||
@echo " To Finish Installation add " | ||
@echo " " | ||
@echo " alias awsd=\"source _awsd\" " | ||
@echo " " | ||
@echo " to your bash profile or zshrc " | ||
@echo " then open new terminal or " | ||
@echo " source that file " | ||
@echo " " | ||
@echo " -=-=--=-=-=-=-=-=-=-=-=-=-=-=- " | ||
|
||
.PHONY: uninstall | ||
uninstall: | ||
uninstall: ## Uninstall Target | ||
rm -f ${BINDIR}/_awsd | ||
rm -f ${BINDIR}/_awsd_prompt |
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,4 +1,4 @@ | ||
module github.com/pjaudiomv/_awsd_prompt | ||
module github.com/pjaudiomv/awsd | ||
|
||
go 1.16 | ||
|
||
|
This file was deleted.
Oops, something went wrong.