mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
global: Switch the function-declarations to avoid unexpected alias expansions
This commit is contained in:
@@ -38,7 +38,7 @@ function set_user_color() {
|
||||
esac
|
||||
}
|
||||
|
||||
scm_prompt() {
|
||||
function scm_prompt {
|
||||
CHAR=$(scm_char)
|
||||
if [ $CHAR = $SCM_NONE_CHAR ]
|
||||
then
|
||||
@@ -62,7 +62,7 @@ function set_custom_colors() {
|
||||
powder_blue="\[$(tput setaf 153)\]"
|
||||
}
|
||||
|
||||
__ps_time() {
|
||||
function __ps_time {
|
||||
echo "$(clock_prompt)${_omb_prompt_normal}\n"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user