diff --git a/.functions b/.functions index 484a0911f7..427340d4de 100644 --- a/.functions +++ b/.functions @@ -179,9 +179,12 @@ todatauri () { } -# lazy initialize nvm +## +# lazy initialize nvm, rvm, miniconda # https://news.ycombinator.com/item?id=33582219 -# Alternatives: +## + +# npm alternatives: # * i kinda like volta more but i forget it. # * https://github.com/Schniz/fnm also exists. # * https://asdf-vm.com/ has lots of fans. i want to try it. diff --git a/README.md b/README.md index 9a3260aa7c..0164c40a50 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,11 @@ Rust folks have made a few things that are changing things. - https://github.com/ogham/exa is better `ls` and gets all the trapd00r/LS_COLORS stuff etc. - https://github.com/bigH/git-fuzzy interactive git thing. deprecates my `git recent` script. and probably some other things. - Also I'd like to migrate to using homesick or https://www.atlassian.com/git/tutorials/dotfiles +### Dotfiles mgmt todo + Also I'd like to migrate to using one of these: + - homesick or + - https://www.atlassian.com/git/tutorials/dotfiles + - https://github.com/nix-community/home-manager + - https://www.chezmoi.io/ also interested in https://github.com/dandavison/open-in-editor diff --git a/fish/functions.fish b/fish/functions.fish index bb3ea0263a..52a08ff546 100644 --- a/fish/functions.fish +++ b/fish/functions.fish @@ -38,9 +38,11 @@ end function stab --description "stabalize a video" set -l vid $argv[1] - ffmpeg -i "$vid" -vf vidstabdetect=stepsize=32 -f null -; - ffmpeg -i "$vid" -vf vidstabtransform=interpol=bicubic "$vid.stab.mkv"; - ffmpeg -i "$vid" -i "$vid.stab.mkv" -filter_complex vstack "$vid.stacked.mkv" + ffmpeg -i "$vid" -vf vidstabdetect=stepsize=32:result="$vid.trf" -f null -; + ffmpeg -i "$vid" -b:v 5700K -vf vidstabtransform=interpol=bicubic:input="$vid.trf" "$vid.mkv"; # :optzoom=2 seems nice in theory but i dont love it. kinda want a combo of 1 and 2. (dont zoom in past the static zoom level, but adaptively zoom out to full when possible) + ffmpeg -i "$vid" -i "$vid.mkv" -b:v 3000K -filter_complex hstack "$vid.stack.mkv" + # vid=Dalton1990/Paultakingusaroundthehouseagai ffmpeg -i "$vid.mp4" -i "$vid.mkv" -b:v 3000K -filter_complex hstack $HOME/Movies/"Paultakingusaroundthehouseagai.stack.mkv" + command rm $vid.trf end diff --git a/fish/path.fish b/fish/path.fish index 3dddb240b4..be06a36fda 100644 --- a/fish/path.fish +++ b/fish/path.fish @@ -11,7 +11,7 @@ set -l PATH_DIRS (cat "$HOME/.extra" | grep "^PATH" | \ sed "s/~\//{\$HOME}\//") -set -l PA "" +set -l PA $PATH