-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: revise all scripts to conform with shellcheck.
- Loading branch information
1 parent
c902074
commit 5c8235f
Showing
5 changed files
with
24 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/bin/sh | ||
|
||
echo_console_title() { | ||
echo -en "\e]0;$1\007" | ||
printf "\e]0;%b\007" "$*" | ||
} | ||
|
||
_PS_TITLE_BEGIN="\[\e]0;" | ||
_PS_TITLE_END="\a\]" | ||
export _PS_TITLE_BEGIN="\[\e]0;" | ||
export _PS_TITLE_END="\a\]" |
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,6 +1,9 @@ | ||
#!/bin/sh | ||
# shellcheck disable=1090 | ||
|
||
[[ -f "${HOME}/.color.rc" ]] && source "${HOME}/.color.rc" | ||
[ -f "${HOME}/.color.rc" ] && . "${HOME}/.color.rc" | ||
|
||
echo -ne "${_COLOR_BGreen}BusyBox ${_COLOR_Cyan}Hello World!!! ${_COLOR_BRed}\n" | ||
read -p "Press Enter to exit: " answer | ||
# shellcheck disable=2059,2154 | ||
printf "${_COLOR_BGreen}BusyBox ${_COLOR_Cyan}Hello World!!! ${_COLOR_BRed}\n" | ||
|
||
printf "Press [Enter] key to continue..."; read -r |