My zsh configuration
git clone https://github.com/m-col/zshrc
Files | Refs | Readme

Commit 37f63c7c0c290903a256673f3bb0fdba3c0c58f2
Parent: bd5c17e9e90786907a851a5f98c910392b5e620a
Author: mcol <mcol@posteo.net>
Date: 2020-08-17 17:10:59 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-08-17 17:10:59 +0100

add aliases; ffmpeg func

functions.zsh Modified

@@ -63,5 +63,8 @@
 }
 
 rec_screen() {
-    ffmpeg -f x11grab -y -r 30 -s 1920x1080 -i :0.0 -vcodec huffyuv out.mp4
+    ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 out.mp4
+}
+rec_screen_mic() {
+    ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 -f pulse -ac 2 -i default out.mkv
 }

aliases Modified

@@ -11,6 +11,7 @@
 alias tmp='cd /tmp; l'
 alias _='sudo'
 alias grep='grep --exclude-dir="__pycache__"'
+alias p='ps aux  | grep -v grep | grep -i'
 
 # systemd
 alias sc='systemctl'
@@ -60,7 +61,7 @@
 alias difs='git diff --staged'
 alias cl='git clone'
 alias chp='git cherry-pick'
-alias res='git restore'
+alias rs='git restore'
 
 # tools
 alias usync='rsync -avPzh --delete'