mirror of
https://github.com/Phantop/dotfiles
synced 2024-09-29 13:32:06 +00:00
Fish: Remove a bunch of rarely-used functions
This commit is contained in:
parent
11d8a0ab7d
commit
bf2969e561
|
@ -1,6 +0,0 @@
|
|||
# Defined in /tmp/fish.qyLQlB/mount3ds.fish @ line 2
|
||||
function 3ds
|
||||
mkdir $D/Games/Roms/3DS $D/Installs/Backup/3DS/sd
|
||||
mount_sd --movable ~/.3ds/movable.sed $D/Installs/Backup/3DS/Nintendo\ 3DS $D/Installs/Backup/3DS/sd
|
||||
mount_titledir $D/Installs/Backup/3DS/sd/b81f00ba4783ae5a534430320002544d/title/ $D/Games/Roms/3DS
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.KHZB83/base64d.fish @ line 2
|
||||
function base64d
|
||||
echo "$argv" | base64 -d | xclip -selection clipboard
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.yDUjKI/bb.fish @ line 1
|
||||
function bb
|
||||
busybox $argv
|
||||
end
|
|
@ -1,5 +0,0 @@
|
|||
# Defined in /tmp/fish.A12SFF/citra.fish @ line 1
|
||||
function citra
|
||||
cd $D/Games/Emulators/citra
|
||||
./citra-qt
|
||||
end
|
|
@ -1,5 +0,0 @@
|
|||
# Defined in /tmp/fish.V22h46/citradl.fish @ line 2
|
||||
function citradl
|
||||
fruitdl $argv citra
|
||||
citra
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.UViMBm/citradlc.fish @ line 1
|
||||
function citradlc
|
||||
citradl canary
|
||||
end
|
|
@ -1,7 +1,7 @@
|
|||
# Defined in /tmp/fish.32qN0Q/clean.fish @ line 2
|
||||
function clean
|
||||
s printf \
|
||||
font
|
||||
s printf \
|
||||
fc-cache -f -v
|
||||
se clean -y
|
||||
se dc -y
|
||||
se rmo -y
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
# Defined in /tmp/fish.3MFBrD/clip.fish @ line 1
|
||||
function clip
|
||||
bash -c 'if [[ -t 0 && -z "$1" ]]; then
|
||||
# output contents of clipboard
|
||||
xclip -out -selection clipboard || exit 1
|
||||
elif [[ -n "$1" ]]; then
|
||||
# copy file contents to clipboard
|
||||
xclip -in -selection clipboard < "$1" || exit 1
|
||||
else
|
||||
# copy stdin to clipboard
|
||||
xclip -in -selection clipboard <&0 || exit 1
|
||||
fi'
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.OmYykn/co.fish @ line 1
|
||||
function co
|
||||
xdg-open (pwd)
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in - @ line 2
|
||||
function compact
|
||||
VBoxManage modifymedium --compact $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.N4Fl24/cpu.fish @ line 1
|
||||
function cpu
|
||||
lscpu | grep MHz; printf '\n\n'; sensors
|
||||
end
|
|
@ -1,6 +0,0 @@
|
|||
# Defined in /tmp/fish.mcutOu/deb.fish @ line 2
|
||||
function deb
|
||||
ar -x $argv
|
||||
tar Jxv data.tar.*
|
||||
echo "You can install the deb with 'sudo cp -r'. Won't kill your system."
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.nmdZHX/debinds.fish @ line 1
|
||||
function debinds
|
||||
fish_default_key_bindings
|
||||
end
|
|
@ -1,7 +1,7 @@
|
|||
# Defined in /tmp/fish.0D6Y21/dl.fish @ line 2
|
||||
# Defined in /tmp/fish.BCfXZv/dl.fish @ line 2
|
||||
function dl
|
||||
if test $argv
|
||||
wget $argv
|
||||
aria2c --file-allocation=none -c -x 16 -s 16 $argv
|
||||
else
|
||||
cd ~/Downloads/
|
||||
end
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.3CACfC/e.fish @ line 1
|
||||
function e
|
||||
eopkg $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.ZDkQk3/eh.fish @ line 1
|
||||
function eh
|
||||
eopkg history $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.j8Cyly/fastcopy.fish @ line 2
|
||||
function fastcopy
|
||||
rsync -avhcP --no-compress $argv
|
||||
end
|
|
@ -1,4 +1,4 @@
|
|||
# Defined in /tmp/fish.wuzN87/fastcp.fish @ line 1
|
||||
# Defined in /tmp/fish.j8Cyly/fastcopy.fish @ line 2
|
||||
function fastcp
|
||||
fastcopy $argv
|
||||
rsync -avhcP --no-compress $argv
|
||||
end
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.hwFxZE/fastdl.fish @ line 2
|
||||
function fastdl
|
||||
aria2c --file-allocation=none -c -x 16 -s 16 $argv
|
||||
end
|
|
@ -1,6 +0,0 @@
|
|||
# Defined in /tmp/fish.TKXhcA/ffl.fish @ line 1
|
||||
function ffl
|
||||
fd\
|
||||
-E sys -E caches -E cache -E .cache -E graphicPacks -E proc -E dosdevices -E .git\
|
||||
-H -d 5 -t l -i $argv
|
||||
end
|
|
@ -1,6 +1,6 @@
|
|||
# Defined in /tmp/fish.48Jh0J/fish_user_key_bindings.fish @ line 2
|
||||
# Defined in /tmp/fish.9KWK2Q/fish_user_key_bindings.fish @ line 2
|
||||
function fish_user_key_bindings
|
||||
bind \co 'f'
|
||||
bind \co 'fff'
|
||||
bind \eo 'cd (ffd | fzf)'
|
||||
bind \ed 'ncdu'
|
||||
bind \eg 'gl; gs'
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.dvX0Rn/updatefonts.fish @ line 2
|
||||
function font
|
||||
fc-cache -f -v
|
||||
end
|
|
@ -1,5 +0,0 @@
|
|||
# Defined in /tmp/fish.kHem7R/fruitup.fish @ line 1
|
||||
function fruitup
|
||||
fruitdl canary yuzu
|
||||
fruitdl canary citra
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
# Defined in /tmp/fish.RHlyrP/lmao.fish @ line 2
|
||||
function lmao
|
||||
for i in (seq 1 37)
|
||||
st &
|
||||
end
|
||||
sleep 1.15
|
||||
kj
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.AmoAq1/lntree.fish @ line 1
|
||||
function lntree
|
||||
cp -as $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.JncNtd/loadme.fish @ line 2
|
||||
function loadme
|
||||
cat /usr/bin/* /usr/lib32/*.so /usr/lib64/*.so > /dev/null; exit
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.UrNTqQ/lscolors.fish @ line 1
|
||||
function lscolors
|
||||
wget -O- https://i.stack.imgur.com/6kknG.png | feh -
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.xJeaH3/megalinks.fish @ line 2
|
||||
function megalinks
|
||||
megadl (echo "$argv" | base64 -d)
|
||||
end
|
|
@ -1,6 +0,0 @@
|
|||
# Defined in /tmp/fish.aAXDro/mineshaft.fish @ line 1
|
||||
function mineshaft
|
||||
cd /tmp
|
||||
wget https://mineshafter.info/files/jars/Mineshafter-launcher.jar
|
||||
java -jar Mineshafter-launcher.jar
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.iWjKdH/o.fish @ line 1
|
||||
function o
|
||||
open $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.5El2W1/compresspdf.fish @ line 1
|
||||
function pdfcompress
|
||||
command gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile="$argv"out $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.Iak7eY/push.fish @ line 1
|
||||
function push
|
||||
g push $argv
|
||||
end
|
|
@ -1,7 +0,0 @@
|
|||
# Defined in /tmp/fish.UJ4EF5/ranger-cd.fish @ line 2
|
||||
function ranger-cd
|
||||
set tempfile (mktemp -t tmp.XXXXXX)
|
||||
ranger --choosedir=$tempfile
|
||||
cd (cat $tempfile)
|
||||
rm -f $tempfile
|
||||
end
|
|
@ -1,6 +0,0 @@
|
|||
# Defined in /tmp/fish.pX4L2Z/rpcs3.fish @ line 2
|
||||
function rpcs3
|
||||
cd $D/Games/Emulators/rpcs3/
|
||||
./rpcs3
|
||||
rm *log*
|
||||
end
|
|
@ -1,10 +0,0 @@
|
|||
# Defined in /tmp/fish.CYevIG/rpcs3dl.fish @ line 2
|
||||
function rpcs3dl
|
||||
cd $D/Games/Emulators/rpcs3/
|
||||
rm ./*.AppImage
|
||||
wget (wget -O- -o /dev/tty https://rpcs3.net/download | grep -o -m1 https://rpcs3.net/cdn/builds/rpcs3-v.\*_linux64.AppImage)
|
||||
chmod +x *.AppImage
|
||||
rm rpcs3
|
||||
ln -s *.AppImage rpcs3
|
||||
rpcs3
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.cgVcDU/scrcpy.fish @ line 1
|
||||
function scrcpy
|
||||
command scrcpy -c 1009:1794:35:70 $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.zlFedo/sm.fish @ line 1
|
||||
function sm
|
||||
sumurder $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.Ugfwkw/soff.fish @ line 1
|
||||
function soff
|
||||
systemctl poweroff -i $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.sJqNbO/spice.fish @ line 2
|
||||
function spice
|
||||
spicy -p 3001
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.Y05cFm/tetris.fish @ line 2
|
||||
function tetris
|
||||
melonDS $D/Games/Roms/DS/Tetris.nds
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function tmpfiles
|
||||
sudo systemd-tmpfiles --create $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.ZNLeDW/used.fish @ line 2
|
||||
function used
|
||||
watch -n 0.1 du -h -BM $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.q736uF/vboxusb.fish @ line 2
|
||||
function vboxusb
|
||||
s usermod -aG vboxusers $USER
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.Xvf65v/vibinds.fish @ line 2
|
||||
function vibinds
|
||||
fish_vi_key_bindings
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.8Sf52D/watchcpu.fish @ line 1
|
||||
function watchcpu
|
||||
watch -tn1 "lscpu | grep MHz; printf '\n\n'; sensors"
|
||||
end
|
|
@ -1,6 +0,0 @@
|
|||
# Defined in /tmp/fish.pZtHjZ/yuzu.fish @ line 2
|
||||
function yuzu
|
||||
cd $D/Games/Emulators/yuzu
|
||||
./yuzu
|
||||
rm -r log
|
||||
end
|
|
@ -1,5 +0,0 @@
|
|||
# Defined in /tmp/fish.hUp1l4/yuzudl.fish @ line 2
|
||||
function yuzudl
|
||||
fruitdl $argv yuzu
|
||||
yuzu
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.9hZk1A/yuzudlc.fish @ line 1
|
||||
function yuzudlc
|
||||
yuzudl canary
|
||||
end
|
Loading…
Reference in a new issue