aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm/themes/minterm.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-02-10 13:52:52 -0500
committerJesús <heckyel@hyperbola.info>2021-02-10 13:52:52 -0500
commit7e95c3b667a1b353f8275db886203f272bfcce34 (patch)
treeaefe3b7db69ac78b83b79a70cf43401679812d20 /hyperterm/themes/minterm.sh
downloadhyperterm-7e95c3b667a1b353f8275db886203f272bfcce34.tar.lz
hyperterm-7e95c3b667a1b353f8275db886203f272bfcce34.tar.xz
hyperterm-7e95c3b667a1b353f8275db886203f272bfcce34.zip
first commit
Diffstat (limited to 'hyperterm/themes/minterm.sh')
-rw-r--r--hyperterm/themes/minterm.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/hyperterm/themes/minterm.sh b/hyperterm/themes/minterm.sh
new file mode 100644
index 0000000..62e3ae7
--- /dev/null
+++ b/hyperterm/themes/minterm.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+unset minterm
+
+# Import colors
+_colors_bash "$@"
+
+: "${minterm:=\n\
+\[${BOLD}${CYAN}\]┌─\
+\[${BOLD}${YELLOW}\]\u\
+\[${BOLD}${CYAN}\]@\
+\[${BOLD}${GREY}\]\h\[$RESET\] \
+\$(exitstatus)\[$RESET\] \
+\[${BOLD}${WHITE}\][\$PWD]\
+\$( _prompt_is_on_git &> /dev/null && \
+ echo -n \" \[${BOLD}${WHITE}\]on\[$RESET\] \" && \
+ echo -n \"\$(_prompt_get_git_info)\" && \
+ echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \
+ echo -n \"\[$RESET\]\")\n\
+\[${BOLD}${CYAN}\]╰─➤\[$RESET\] \
+\$( echo -n \"\[${BOLD}${GREY}\]\$(date +%H:%M)\" )\[$RESET\] \
+\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]}"
+
+unset _psi
+: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"