@@ 11,9 11,7 @@ set -x GTK_THEME Adwaita:dark
bind '[3;5~' kill-bigword
bind '[3;3~' kill-bigword
-# man
function h; man $argv; end # help
-# cd
function g; cd $argv; l; end # go
function u; g ..; end # up
function u2; g ../..; end
@@ 22,15 20,11 @@ function b; prevd $argv; l; end # back
function f; nextd $argv; l; end # forward
function b2; b 2; end
function f2; f 2; end
-# mkdir
function mk; mkdir $argv; end
function gn; mkdir -p $argv; g $argv; end # go new
-# ls
function l; command ls --color $argv; end
function ls; command ls --color -A $argv; end # list secret
-# editor
function e; micro $argv; end
-# other basics
function r; cat $argv; end # read
function c; cp -iR $argv; end # copy
function n; mv -i $argv; end # name
@@ 39,12 33,9 @@ function t; file $argv; end # type
function s; less $argv; end # scroll
function k; kill $argv; end
function kn; killall $argv; end # kill name
-function sf; find $argv; end # search file
function st; grep --color $argv; end # search text
function scp; command scp -r $argv; end
-# langs
function p; python $argv; end
-# git
function gts; git status $argv; end
function gtd; git diff $argv; end
function gtdc; git diff --cached $argv; end
@@ 62,7 53,7 @@ function gtbr; git branch $argv; end
function gtst; git stash $argv; end
function gtrs; git restore $argv; end
function gtpk; git cherry-pick $argv; end
-# music
+function zz; doas zzz $argv; end
function mp; mpv $argv; end
function ffmpeg; command ffmpeg $argv -hide_banner; end
# alarm shortcut