mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Change output dir color form Red to Green for bash
This commit is contained in:
parent
06e082c918
commit
aa1fa3222c
@ -62,7 +62,7 @@ j() {
|
|||||||
output="$(autojump ${@})"
|
output="$(autojump ${@})"
|
||||||
if [[ -d "${output}" ]]; then
|
if [[ -d "${output}" ]]; then
|
||||||
if [ -t 1 ]; then # if stdout is a terminal, use colors
|
if [ -t 1 ]; then # if stdout is a terminal, use colors
|
||||||
echo -e "\\033[31m${output}\\033[0m"
|
echo -e "\\033[32m${output}\\033[0m"
|
||||||
else
|
else
|
||||||
echo -e "${output}"
|
echo -e "${output}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user