mirror of
https://github.com/wting/autojump
synced 2025-06-09 10:54:06 +00:00
Merge aa1fa3222c
into ee21082751
This commit is contained in:
commit
c1027d0acf
@ -62,7 +62,7 @@ j() {
|
||||
output="$(autojump ${@})"
|
||||
if [[ -d "${output}" ]]; then
|
||||
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
|
||||
echo -e "${output}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user