diff options
author | Shubham Saini <pryr@pryr.xyz> | 2021-06-07 04:32:34 +0000 |
---|---|---|
committer | Shubham Saini <pryr@pryr.xyz> | 2021-06-07 04:32:34 +0000 |
commit | 12a81d6c9bef762ebf9fd7268d068f985dfe5d39 (patch) | |
tree | 0ab31d8ea0281a3387dfae2ec5ee82952fbb6ab2 /zsh | |
parent | 0fe81c62a67e9088d3f4d3e9e534be6b94b5beb4 (diff) |
some new func
Diffstat (limited to 'zsh')
-rwxr-xr-x | zsh/.zshrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -69,6 +69,14 @@ findstr() { | |||
69 | find . -type f -exec grep -H "$1" {} \; | 69 | find . -type f -exec grep -H "$1" {} \; |
70 | } | 70 | } |
71 | 71 | ||
72 | revid() { | ||
73 | ffmpeg -i $1 -vf reverse -qp 16 $2 | ||
74 | } | ||
75 | |||
76 | slowvid() { | ||
77 | ffmpeg -i $1 -vf "setpts=0.5*PTS" $2 | ||
78 | } | ||
79 | |||
72 | # Enable colors and change prompt: | 80 | # Enable colors and change prompt: |
73 | autoload -U colors && colors | 81 | autoload -U colors && colors |
74 | fpath+=$HOME/.cache/zsh/pure | 82 | fpath+=$HOME/.cache/zsh/pure |