File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
.devcontainer/features/bash-config/config Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ __bash_prompt() {
3838__bash_prompt
3939export PROMPT_DIRTRIM=4
4040
41+ # colorize ls output
42+ export LS_OPTIONS=' --color=auto'
43+ eval " $( dircolors) "
44+ alias ls=' ls $LS_OPTIONS'
45+ alias ll=' ls $LS_OPTIONS -l'
46+
4147# enable bash completion for git
4248if [[ -f /usr/share/bash-completion/completions/git ]]; then
4349 source /usr/share/bash-completion/completions/git
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ source dev-container-features-test-lib
1212# check <LABEL> <cmd> [args...]
1313check " execute command" bash -c " test $HISTFILE == $CONFIG_FOLDER /.bash_eternal_history"
1414check " man installed" man -V
15+ check " ls colors" bash -c " test $LS_OPTIONS == --color=auto"
1516
1617# Report results
1718# If any of the checks above exited with a non-zero exit code, the test will fail.
You can’t perform that action at this time.
0 commit comments