diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-12-16 22:23:23 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-12-16 22:23:23 +0800 |
commit | f9f7a5ee4cccd2e4f8c2ecc6182fce02b000ecdc (patch) | |
tree | ad1d966e7cdcef3c0d28c3cda70bd366ab4f0c19 | |
parent | b42e42fd9926a89be6e22f38867531e645f370c0 (diff) |
Update
-rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -143,7 +143,7 @@ date.reset() { | |||
143 | alias grep='grep --color' | 143 | alias grep='grep --color' |
144 | unalias gr &>/dev/null | 144 | unalias gr &>/dev/null |
145 | gr() { grep --exclude-dir='\.git' -r $@ . | sed '/^.\{2048\}./d'; } | 145 | gr() { grep --exclude-dir='\.git' -r $@ . | sed '/^.\{2048\}./d'; } |
146 | highlight() { grep --color -E "$1|\$"; } | 146 | grep.color() { grep --color -E "$1|\$"; } |
147 | 147 | ||
148 | # cron | 148 | # cron |
149 | alias ce='crontab -e' | 149 | alias ce='crontab -e' |