diff options
author | typebrook <typebrook@gmail.com> | 2020-02-05 10:57:04 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-02-05 10:57:04 +0800 |
commit | a7a4eeb40cd5780bdcbc36bf9c85e558846aead5 (patch) | |
tree | f30d2fd1193cf0cd87cde51a4c7f5951844b7f12 /alias | |
parent | a2bc06ce83ce314d7acf7c238dc243c3d6816880 (diff) |
update
Diffstat (limited to 'alias')
-rw-r--r-- | alias | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -220,7 +220,9 @@ alias m='mutt' | |||
220 | # misc | 220 | # misc |
221 | alias foo='echo bar > foo && echo File foo is created && ls -lh foo' | 221 | alias foo='echo bar > foo && echo File foo is created && ls -lh foo' |
222 | alias bar='echo foo > bar && echo File bar is created && ls -lh bar' | 222 | alias bar='echo foo > bar && echo File bar is created && ls -lh bar' |
223 | alias token="cd $SETTING_DIR/tokens && ls -lh" | 223 | token() { |
224 | cd $SETTING_DIR/tokens && cat $1 | ||
225 | } | ||
224 | alias gr='_grepString' | 226 | alias gr='_grepString' |
225 | _grepString() { | 227 | _grepString() { |
226 | grep -R $1 . | 228 | grep -R $1 . |