mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
OMB - Major Refactor (#39)
* OMB - Major Refactor - Aliases and completions now works like plugins (need to enabled in .bashrc) - Removed the compatible check in spectrum.sh, OMB now works with Bash v3.x like the old days. - Removed core plugin, added those bash functions into base.sh and load during startup. - Updated OSH template for new installations - Added history config and few other stuff from #17 @TODO: Added a shell script to update old version of .bashrc to new one. * Fixed ShellCheck issues * Fixed ShellCheck issues
This commit is contained in:
@@ -119,7 +119,7 @@ e_underline() { printf "${underline}${bold}%s${reset}\n" "$@"
|
||||
}
|
||||
e_bold() { printf "${bold}%s${reset}\n" "$@"
|
||||
}
|
||||
e_note() { printf "${underline}${bold}${blue}Note:${reset} ${blue}%s${reset}\n" "$@"
|
||||
e_note() { printf "${underline}${bold}${blue}Note:${reset} ${yellow}%s${reset}\n" "$@"
|
||||
}
|
||||
|
||||
#
|
||||
@@ -134,9 +134,9 @@ e_note() { printf "${underline}${bold}${blue}Note:${reset} ${blue}%s${reset}\n"
|
||||
# fi
|
||||
#
|
||||
seek_confirmation() {
|
||||
printf "\n${bold}%s${reset}" "$@"
|
||||
printf "\\n${bold}%s${reset}" "$@"
|
||||
read -p " (y/n) " -n 1
|
||||
printf "\n"
|
||||
printf "\\n"
|
||||
}
|
||||
|
||||
# Test whether the result of an 'ask' is a confirmation
|
||||
|
Reference in New Issue
Block a user