Rearrange a bunch of functions and delete unused

This commit is contained in:
Phantop 2018-12-21 18:14:12 -05:00
parent 52e9fbe981
commit e7c3c21903
66 changed files with 41 additions and 218 deletions

View File

@ -9,7 +9,7 @@ switch (tty)
# PATHS #
set -gx ANDROID_HOME $D/Source/android/sdk
set -gx fish_user_paths ~/.local/bin $ANDROID_HOME/platform-tools /usr/local/bin /usr/sbin /sbin /usr/local/sbin $PLAN9/bin
set -gx fish_user_paths ~/.local/bin $ANDROID_HOME/platform-tools /usr/bin /usr/local/bin /bin /usr/sbin /usr/local/sbin /sbin $PLAN9/bin
set -gx ENV .profile
# PROGRAM SETTINGS #

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,6 @@
# Defined in /tmp/fish.VTAv1N/3ds.fish @ line 1
# Defined in /tmp/fish.qyLQlB/mount3ds.fish @ line 2
function 3ds
mount3ds
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

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.Iu1xHu/3dsmount.fish @ line 1
function 3dsmount
mount3ds
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.Ff7fjo/ac.fish @ line 2
function ac
asciinema rec -i 1 $argv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.59f8PN/bat.fish @ line 1
function bat
mog $argv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.pL85ov/botwdata.fish @ line 2
function botwdata
cd $D/Games/Emulators/Cemu/botwData
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.g6wC1F/build.fish @ line 2
# Defined in /tmp/fish.kRzbVF/build.fish @ line 2
function build
s printf \
gp
@ -7,4 +7,7 @@ function build
cmake .
make
s make install
meson build
ninja -C build
sudo ninja -C build install
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.hYM5bH/cdir.fish @ line 1
function cdir
mkdir $argv; cd $argv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.gtdPle/cf.fish @ line 2
function cf
cd (ffd $argv | head -1)
end

View File

@ -1,5 +0,0 @@
# Defined in /tmp/fish.w7O4D3/cfo.fish @ line 1
function cfo
cf $argv
co
end

View File

@ -1,4 +0,0 @@
# Defined in - @ line 1
function cmuswin
st -e cmus
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.qhdqSf/discord.fish @ line 2
function discord
qb https://discordapp.com/channels/@me
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.of4bzw/ex.fish @ line 1
function ex
exit $argv
end

View File

@ -1,5 +0,0 @@
# Defined in /tmp/fish.IaHetC/filter.fish @ line 1
function filter
funced ff
funcsave ff
end

View File

@ -1,5 +0,0 @@
# Defined in /tmp/fish.Wq2WEU/flushswap.fish @ line 2
function flushswap
s swapoff -a
s swapon -a
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.dvX0Rn/updatefonts.fish @ line 2
function updatefonts
function font
fc-cache -f -v
end

View File

@ -1,5 +1,5 @@
# Defined in /tmp/fish.5KyO71/fuckgit.fish @ line 2
function fuckgit
git reset --hard
git clean -fdx
g reset --hard
g clean -fdx
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.82JlO9/ga.fish @ line 1
function ga
git commit -a $argv
g commit -a $argv
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.Hll5zs/gb.fish @ line 1
function gb
git branch $argv
g branch $argv
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.6oIQ1v/gg.fish @ line 1
function gg
git clone $argv
g clone $argv
end

View File

@ -1,6 +1,6 @@
# Defined in /tmp/fish.e5MYKq/giveme.fish @ line 2
# Defined in /tmp/fish.NfLGo1/giveme.fish @ line 2
function giveme
for i in (ff)
s chown glados $i
s chown $USER $i
end
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.qBXhXo/gl.fish @ line 1
function gl
git log $argv
g log $argv
end

View File

@ -1,4 +1,5 @@
# Defined in /tmp/fish.ASZhcy/gsu.fish @ line 1
# Defined in /tmp/fish.bDC1Cu/gsu.fish @ line 2
function gsu
git submodule foreach --recursive git pull origin master $argv
g submodule foreach --recursive
g pull origin master $argv
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.iJlPcC/gu.fish @ line 2
function gu
git push $argv
g push $argv
end

View File

@ -1,8 +1,8 @@
# Defined in /tmp/fish.xOFV2s/gupall.fish @ line 1
# Defined in /tmp/fish.SQEYNE/gupall.fish @ line 2
function gupall
for i in *
cd $i
git pull
g pull
cd ..
end
end

View File

@ -1,5 +0,0 @@
# Defined in /tmp/fish.k3zVYQ/jdownlaoder.fish @ line 1
function jdownloader
$D/Tools/JDownloader
java -jar JDownloader.jar
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.8wDs2h/lsa.fish @ line 1
function lsa
function la
ls -a $argv
end

View File

@ -0,0 +1,4 @@
# Defined in /tmp/fish.NlAEWQ/launcher.fish @ line 1
function launcher
rofi -combi-modi "drun,run" -show combi -modi "combi,window" -drun-icon-theme Papirus $argv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.G9V44P/lc.fish @ line 2
function lc
lolcat $argv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.lQPGYW/m.fish @ line 1
function m
murder $argv
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.scyW8e/mc.fish @ line 1
# Defined in /tmp/fish.Y3P4Il/minecraft.fish @ line 1
function mc
minecraft
cd ~/.minecraft; java -jar launcher.jar
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.VgI3wL/mcr.fish @ line 1
# Defined in /tmp/fish.9GKs9x/mcrcon.fish @ line 2
function mcr
mcrcon $argv
eval $D/Games/Minecraft/Server/mcrcon -t -H localhost -P 25575 -p password $argv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.9GKs9x/mcrcon.fish @ line 2
function mcrcon
eval $D/Games/Minecraft/Server/mcrcon -t -H localhost -P 25575 -p password $argv
end

View File

@ -1,4 +1,5 @@
# Defined in /tmp/fish.Wai4Lr/mcs.fish @ line 1
# Defined in /tmp/fish.iAzJE2/minecraftserver.fish @ line 2
function mcs
mcserver
cd $D/Games/Minecraft/Server
java -Xmx8G -Xms128M -XX:+UseConcMarkSweepGC -jar server.jar nogui
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.e745iu/mcserver.fish @ line 1
function mcserver
minecraftserver
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.NwUwdx/megacrypt.fish @ line 1
function megacrypt
qb (echo "$argv" | base64 -d)
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.Y3P4Il/minecraft.fish @ line 1
function minecraft
cd ~/.minecraft; java -jar launcher.jar
end

View File

@ -1,5 +0,0 @@
# Defined in /tmp/fish.iAzJE2/minecraftserver.fish @ line 2
function minecraftserver
cd $D/Games/Minecraft/Server
java -Xmx8G -Xms128M -XX:+UseConcMarkSweepGC -jar server.jar nogui
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.URcWLL/mkc.fish @ line 1
function mkc
mkdir $argv; cd $argv
end

View File

@ -1,6 +0,0 @@
# Defined in /tmp/fish.qyLQlB/mount3ds.fish @ line 2
function mount3ds
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

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.oczbtc/nf.fish @ line 1
function nf
neofetch $argv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.ocvVOF/pg.fish @ line 1
function pg
s mtr $argv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.e1WPCz/pia-manager.fish @ line 2
function pia-manager
eval $D/Source/pia/pia-manager.py
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.msZ5xK/pia.fish @ line 2
# Defined in /tmp/fish.e1WPCz/pia-manager.fish @ line 2
function pia
pia-manager $argv
eval $D/Source/pia/pia-manager.py
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.2thzVW/piaport.fish @ line 2
function piaport
eval $D/Source/pia-manager/port-forwarding.sh
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.6nxaK9/rufus.fish @ line 1
function rufus
windows2usb $arv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.ib0WXg/shutdownh.fish @ line 1
function shutdownh
shutdown (math "60*"$argv)
end

View File

@ -1,5 +0,0 @@
# Defined in /tmp/fish.Cx4pgF/swift.fish @ line 1
function swift
$D/Installs/Backup/oandbackups
rm -r *Swift*
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.EAIy1T/timer.fish @ line 1
function timer
sleep 1200; notify-send "20 minutes have passed!"
end

View File

@ -1,4 +1,3 @@
# Defined in /home/glados/.config/fish/functions/tmpfiles.fish @ line 2
function tmpfiles
sudo systemd-tmpfiles --create $argv
end

View File

@ -1,5 +0,0 @@
# Defined in /tmp/fish.yRsTV3/torsearch.fish @ line 2
function torsearch
cd $D/Docs/TorrentCSV/
./search.sh "$argv"
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.Jr7deq/ts.fish @ line 1
function ts
torsearch $argv
end

View File

@ -1,4 +1,4 @@
# Defined in /tmp/fish.4rR45u/vboxusb.fish @ line 1
# Defined in /tmp/fish.q736uF/vboxusb.fish @ line 2
function vboxusb
s usermod -aG vboxusers glados
s usermod -aG vboxusers $USER
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.Yn7d6H/vimtutor.fish @ line 2
function vimtutor
vi +Tutor
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.6sayVd/vitutor.fish @ line 1
function vitutor
vimtutor
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.r1heUj/vw.fish @ line 2
function vw
vi (which $argv[1]) $argv[2..-1]
end

View File

@ -1,5 +0,0 @@
# Defined in /tmp/fish.UVN1rF/wall0.fish @ line 2
function wall0
rm ~/.config/wall0
cp $argv ~/.config/wall0
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.bp0O81/we.fish @ line 1
function we
weather
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.aFIptQ/weather.fish @ line 1
function weather
curl 'http://wttr.in/jfk?m'
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.cmNbzA/weatherg.fish @ line 2
function weatherg
st -g 125x40 fish -c 'weather | less'
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.SJ8gn7/wg.fish @ line 2
function wg
weatherg
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.pMmQL7/windows2usb.fish @ line 2
function windows2usb
eval $D/Tools/windows2usb $argv
end

View File

@ -1,5 +0,0 @@
# Defined in /tmp/fish.Ymql3J/xci.fish @ line 2
function xci
xci1 $argv
xci2 $argv
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.P4iOJR/xci1.fish @ line 2
function xci1
hactool -k ~/.local/share/yuzu/keys/prod.keys -txci --securedir="xciDecrypted" "$argv"
end

View File

@ -1,4 +0,0 @@
# Defined in /tmp/fish.GVKGKz/xci2.fish @ line 2
function xci2
hactool -k ~/.local/share/yuzu/keys/prod.keys --exefsdir="xciDecrypted" --romfs="xciDecrypted/romfs.romfs" xciDecrypted/(ls xciDecrypted/ -S1 | head -n 1)
end