mirror of
https://github.com/Phantop/dotfiles
synced 2025-03-21 09:29:28 +00:00
Fish: update for psoft junit stuff and sh abbrs
This commit is contained in:
parent
8d046de353
commit
7ced18b5a0
|
@ -16,6 +16,7 @@ a all2jxl 'fd -e{png,jpg,ppm} -x cjxl -e 8 -d 0 {} {.}.jxl \; -x rm'
|
|||
a awall 'xwinwrap -fdt -fs -- mpv -wid WID ~/Pictures/Wall/Anim/$argv* --loop --no-osc'
|
||||
a base64d 'echo (echo $argv | base64 -d 2>/dev/null) | tee /dev/stderr 2>| clip;:'
|
||||
a catbox 'curl https://catbox.moe/user/api.php -F reqtype=fileupload -F fileToUpload=@$argv;:'
|
||||
a cgr 'pushd (g root);:'
|
||||
a clip 'xsel -ib'
|
||||
a cpugov 's cpupower frequency-set -g performance'
|
||||
a dirdl 'wget -r -k -p -np -e robots=off'
|
||||
|
@ -72,7 +73,11 @@ a squash 'mksquashfs . $PWD.squashfs -comp zstd -b 1M -Xcompression-level 22'
|
|||
a undwarfs 'mkdir dwarfs-root; dwarfsextract -o dwarfs-root -i'
|
||||
a xcompress 'fxz -T0 -9 -k'
|
||||
|
||||
a history_match 'history -p (string sub -s 2 $argv[1]) | head -n1;:'
|
||||
a history_find 'history -p (string sub -s 2 $argv[1]) | head -n1;:'
|
||||
a history_last 'history -n1;:'
|
||||
|
||||
a junitc "javac -cp 'src/main/java:../cp/*'"
|
||||
a junit "java -cp 'src/test/java:src/main/java:../cp/*' org.junit.runner.JUnitCore"
|
||||
|
||||
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
|
||||
a $i "qutebrowser / \":open $i\""
|
||||
|
|
|
@ -22,6 +22,9 @@ bind \ed 'ncdu'
|
|||
bind \ef '_fzf_wrapper | clip'
|
||||
bind \e\co 'open (_fzf_wrapper)'
|
||||
|
||||
abbr -a !. -r '^!.*' -f history_match
|
||||
abbr !. --position anywhere -f history_find -r '^!.*'
|
||||
abbr !! --position anywhere -f history_last
|
||||
abbr do ''
|
||||
abbr done end
|
||||
|
||||
printf "\e[5 q"
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
pu = push
|
||||
puf = push -f
|
||||
r = reset --hard
|
||||
root = rev-parse --show-toplevel
|
||||
s = status
|
||||
su = submodule update --init --recursive
|
||||
w = clean -fdx
|
||||
|
|
Loading…
Reference in a new issue