aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-06 12:06:27 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-06 12:06:27 +0800
commit1b37f7d7f1554f4ef4cd185c1181d54d9956b1db (patch)
tree54057c5cee90f3a93b240d77828f14f90af8c93f /alias
parenta9386c536189f2aaf38c9e2ba674a096657ca366 (diff)
Update
Diffstat (limited to 'alias')
-rw-r--r--alias3
1 files changed, 1 insertions, 2 deletions
diff --git a/alias b/alias
index e40ef38..5d9fad9 100644
--- a/alias
+++ b/alias
@@ -208,7 +208,7 @@ date.reset() {
208alias clock.reset='hwclock --systohc' 208alias clock.reset='hwclock --systohc'
209unalias gr &>/dev/null 209unalias gr &>/dev/null
210gr() { 210gr() {
211 grep -IR $@ . --exclude-dir=node_modules 211 grep -IR $@ . | sed '/^.\{2048\}./d'
212} 212}
213alias findn='find . -iname' 213alias findn='find . -iname'
214 214
@@ -478,7 +478,6 @@ alias curl.wifi='curl -I google.com | grep -E "^Location:" | cut -d" " -f2 | xse
478# misc 478# misc
479alias foo='echo bar > foo && echo File foo is created && ls -lh foo' 479alias foo='echo bar > foo && echo File foo is created && ls -lh foo'
480alias bar='echo foo > bar && echo File bar is created && ls -lh bar' 480alias bar='echo foo > bar && echo File bar is created && ls -lh bar'
481unalias gr &>/dev/null
482alias wcl='wc -l' 481alias wcl='wc -l'
483alias x='xdg-open' 482alias x='xdg-open'
484alias yl='youtube-dl' 483alias yl='youtube-dl'