diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-13 10:40:25 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-13 10:40:25 +0800 |
| commit | dbd9b50ab216f291de7627bc6d900a63ad0afdaa (patch) | |
| tree | 3bece162930faa34b3c6580c6a9aa8862917f058 /alias | |
| parent | e0cb1058a5ab39ec0af8da189f3045e977867f69 (diff) | |
update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -84,6 +84,11 @@ prompt() { | |||
| 84 | && eval $(<$TMPFILE tee /dev/tty) | 84 | && eval $(<$TMPFILE tee /dev/tty) |
| 85 | rm $TMPFILE | 85 | rm $TMPFILE |
| 86 | } | 86 | } |
| 87 | file.sort() { | ||
| 88 | find $1 -type f -print0 |\ | ||
| 89 | xargs -0 ls --sort=size -lh |\ | ||
| 90 | head -20 | ||
| 91 | } | ||
| 87 | file.size() { | 92 | file.size() { |
| 88 | find $1 -type f -print0 |\ | 93 | find $1 -type f -print0 |\ |
| 89 | xargs -0 ls -l |\ | 94 | xargs -0 ls -l |\ |
| @@ -139,7 +144,7 @@ alias cdd='cd ~/Downloads' | |||
| 139 | alias cdD='cd ~/Documents' | 144 | alias cdD='cd ~/Documents' |
| 140 | alias cdP='cd ~/Pictures' | 145 | alias cdP='cd ~/Pictures' |
| 141 | alias cdV='cd ~/Videos' | 146 | alias cdV='cd ~/Videos' |
| 142 | alias cdb='cd ~/git/blog' | 147 | alias cdb='cd ~/blog' |
| 143 | alias cdmd='cd ~/git/map/deploy' | 148 | alias cdmd='cd ~/git/map/deploy' |
| 144 | 149 | ||
| 145 | # git | 150 | # git |