diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-04-08 10:30:20 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-04-08 10:30:20 +0800 |
| commit | e334ad55d9459382241bb12eb90b0705afd04d81 (patch) | |
| tree | cb04200eedbc9efee733ddc684f3acc9b493bedc /alias | |
| parent | feff9da066006c502c92da88f777e9585b1c0ea3 (diff) | |
update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -184,6 +184,7 @@ alias ce='crontab -e' | |||
| 184 | 184 | ||
| 185 | # lf | 185 | # lf |
| 186 | alias r='_lf_cd' | 186 | alias r='_lf_cd' |
| 187 | alias l='_lf_cd' | ||
| 187 | _lf_cd() { | 188 | _lf_cd() { |
| 188 | tempfile=$(mktemp -t tmp.XXXXXX) | 189 | tempfile=$(mktemp -t tmp.XXXXXX) |
| 189 | lf --last-dir-path $tempfile | 190 | lf --last-dir-path $tempfile |
| @@ -291,7 +292,7 @@ image_horizontal() { | |||
| 291 | } | 292 | } |
| 292 | 293 | ||
| 293 | # thunderbird | 294 | # thunderbird |
| 294 | alias thunder.pull='rsync -a --delete pham@topo.tw:~/.thunderbird/ ~/.thunderbird/' | 295 | alias thunder.pull='rsync -a --delete pham@topo.tw:~/.thunderbird/ ~/.thunderbird &' |
| 295 | 296 | ||
| 296 | # misc | 297 | # misc |
| 297 | alias foo='echo bar > foo && echo File foo is created && ls -lh foo' | 298 | alias foo='echo bar > foo && echo File foo is created && ls -lh foo' |