1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-14 00:03:23 -07:00

Compare commits

..

No commits in common. "90038bf9965f84a2959229a919e544874cdf4608" and "dd1bb981fbed3a7ce6df172756930065d295c3b6" have entirely different histories.

3 changed files with 3 additions and 4 deletions

View File

@ -286,11 +286,11 @@ com! -nargs=+ Inn call Inn(<q-args>)
Inn <F5> :w<cr>
Inn <F6> :Next<cr>
Inn <F7> :next<cr>
Inn <F8> :e %<cr>
Inn <F8> :e<cr>
Inn <F9> @@
Inn <F10> :bd<cr>
Inn <c-F5> :w!<cr>
Inn <c-F8> :e! %<cr>
Inn <c-F8> :e!<cr>
Inn <c-F10> :bd!<cr>
Inn <s-F5> :wall<cr>

View File

@ -88,7 +88,7 @@ mpv_watch() { ### @-
pushd ~/play >/dev/null
local url="$1"; shift
local seen=0 A=() a= # need to make loop vars local thanks to numeric types in zsh
local seen=0 A=()
# for a; do [ "$a" = "${a#--ytdl-format}" ] && A+=("$a") || seen=1; done
for a; do A+=("$a"); done # bypass ytdl-format checks
[ $seen = 0 ] || printf '%s\n' "NOTE: the --ytdl-format flag is temporarily ignored due to throttling issues." >&2

1
sh/sum
View File

@ -16,7 +16,6 @@ sum() { ### @-
### **TODO:** consider renaming because sum(1) already exists.
local sum=0
for i; do
i="${i%,}"
: $((sum+=i))
done
echo "$sum"