Bash: make ls output with color

This commit is contained in:
DuckDuckWhale 2021-01-31 16:51:09 -08:00
parent e7fc57ed1f
commit d7cff910fb
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE

View File

@ -10,6 +10,8 @@ export VISUAL='vim'
PS1='${debian_chroot:+($debian_chroot)}\[\e[01;38;5;11m\]\u\[\e[00;38;5;208m\]@\[\e[01;38;5;27m\]\h\[\e[00m\]:\[\e[00;38;5;45m\]\w\[\e[0m\]\$ ' PS1='${debian_chroot:+($debian_chroot)}\[\e[01;38;5;11m\]\u\[\e[00;38;5;208m\]@\[\e[01;38;5;27m\]\h\[\e[00m\]:\[\e[00;38;5;45m\]\w\[\e[0m\]\$ '
alias ls='ls --color'
# Shows a oneline preview of all files under the folder after changing directory. # Shows a oneline preview of all files under the folder after changing directory.
cd() { cd() {