Skip to content

Commit

Permalink
Added highlight as a sub module
Browse files Browse the repository at this point in the history
  • Loading branch information
jessp01 committed Jul 17, 2023
1 parent 6c1ee85 commit 80b9587
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "highlight"]
path = highlight
url = https://github.com/jessp01/highlight
1 change: 1 addition & 0 deletions highlight
Submodule highlight added at 90e664
3 changes: 1 addition & 2 deletions utils/functions.rc
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ tail()
#FILE=$(echo "$@" | awk -F " " '{print $NF}')

#if echo $FILE | grep -q nginx || echo $FILE | grep -q apache;then
# HIGHLIGHT_LEXER=webserverlog
#fi

echo "$(which tail) "$@" | zaje -l server-log"
$(which tail) "$@" | zaje -l serverlog
$(which tail) "$@" | zaje -l server-log
}

diff()
Expand Down

0 comments on commit 80b9587

Please sign in to comment.