1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 01:07:11 -07:00

fix bash syntax errors

This commit is contained in:
Connor Olding 2021-09-23 07:37:47 -07:00
parent 793f0095dc
commit 6e0b1029f9
2 changed files with 1 additions and 2 deletions

View File

@ -143,7 +143,6 @@ alias gb='git --no-pager branch' ### @- display the current git branch.
alias ash="busybox ash"
alias pip="maybesudo -H pip3"
alias revend='objcopy -I binary -O binary --reverse-bytes=4' ### @- reverse the 4-byte endianness of a single file. *this is an in-place operation!*
alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj"
alias clone='maybesudo rsync -aHA --info=progress2 --no-i-r' ### @- invoke rsync suitably for creating virtually indistinguishable copies of files.
alias aligntabs="column -t -s$'\t'" ### @- align tab-delimited fields in stdin.
alias crawla='ssh joshua@crawl.akrasiac.org -i ~/.ssh/crawl' ### @- play Dungeon Crawl: Stone Soup through ssh on the akrasiac server.

View File

@ -74,7 +74,7 @@ mpv_watch() { ### @-
local url="$1"; shift
# checking for redundant flags might itself be redundant, but i want to be sure.
local seen=0
for a; do [ "$a" = "${a#--ytdl-format=}" ] || seen=1 done
for a; do [ "$a" = "${a#--ytdl-format=}" ] || seen=1; done
if [ $seen -eq 0 ]; then
mpv \
--af=lavfi="[$_M_PROCESS]" \