We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2388c74 commit 3a846a2Copy full SHA for 3a846a2
clean_files.txt
@@ -47,6 +47,7 @@ themes/bobby-python
47
themes/brainy
48
themes/brunton
49
themes/command_duration.theme.bash
50
+themes/modern
51
52
# plugins
53
#
themes/modern/modern.theme.bash
@@ -1,3 +1,5 @@
1
+# shellcheck shell=bash
2
+
3
SCM_THEME_PROMPT_PREFIX=""
4
SCM_THEME_PROMPT_SUFFIX=""
5
@@ -19,14 +21,14 @@ esac
19
21
PS3=">> "
20
22
23
is_vim_shell() {
- if [ ! -z "$VIMRUNTIME" ]; then
24
+ if [ -n "$VIMRUNTIME" ]; then
25
echo "[${cyan}vim shell${normal}]"
26
fi
27
}
28
29
modern_scm_prompt() {
30
CHAR=$(scm_char)
- if [ $CHAR = $SCM_NONE_CHAR ]; then
31
+ if [ "$CHAR" = "$SCM_NONE_CHAR" ]; then
32
return
33
else
34
echo "[$(scm_char)][$(scm_prompt_info)]"
0 commit comments