Fix bash prompt, cabal-install and ghc.
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
"bash",
|
"bash",
|
||||||
"binutils",
|
"binutils",
|
||||||
"brew-cask",
|
"brew-cask",
|
||||||
|
"cabal-install",
|
||||||
"cairo",
|
"cairo",
|
||||||
"cmake",
|
"cmake",
|
||||||
"coreutils",
|
"coreutils",
|
||||||
@@ -50,6 +51,7 @@
|
|||||||
"gdbm",
|
"gdbm",
|
||||||
"gdk-pixbuf",
|
"gdk-pixbuf",
|
||||||
"gettext",
|
"gettext",
|
||||||
|
"ghc",
|
||||||
"gist",
|
"gist",
|
||||||
"git",
|
"git",
|
||||||
"giter8",
|
"giter8",
|
||||||
|
Submodule dotfiles/emacs.d updated: 4cfc0e42cc...30d80f4998
@@ -34,13 +34,6 @@ function git_status_character() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function sandbox_prompt() {
|
|
||||||
if [ ! -z "$(sandbox_prompt_info)" ];
|
|
||||||
then
|
|
||||||
echo " $(separator "with") $(colored_sandbox_string)%{$reset_color%}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function command_line_character() {
|
function command_line_character() {
|
||||||
if ! test -z $(git branch-or-sha);
|
if ! test -z $(git branch-or-sha);
|
||||||
then
|
then
|
||||||
@@ -68,7 +61,7 @@ function separator() {
|
|||||||
|
|
||||||
prompt_basic_colors
|
prompt_basic_colors
|
||||||
function set_bash_prompt() {
|
function set_bash_prompt() {
|
||||||
PS1="╭─$(print_with_color "$(whoami)" "$USERNAME_COLOR") $(separator "at") $(print_with_color "`hostname -s`" "$HOSTNAME_COLOR") $(separator "in") $(print_with_color "`current_directory`" "$CURRENT_DIRECTORY_COLOR")$(git_prompt_info)$(sandbox_prompt)
|
PS1="╭─$(print_with_color "$(whoami)" "$USERNAME_COLOR") $(separator "at") $(print_with_color "`hostname -s`" "$HOSTNAME_COLOR") $(separator "in") $(print_with_color "`current_directory`" "$CURRENT_DIRECTORY_COLOR")$(git_prompt_info)
|
||||||
╰─$(command_line_character) "
|
╰─$(command_line_character) "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user