Fish: Compress PDF and modified RCON functions

This commit is contained in:
Phantop 2019-01-02 20:42:35 -05:00
parent e8490aac5e
commit 702068b353
3 changed files with 7 additions and 11 deletions

View File

@ -1,13 +1,5 @@
# MAIN DISK #
set -gx D /mnt/LocalDiskD
# SESSION MANAGER #
switch (tty)
case "/dev/tty1"
tbsm
end
# PATHS #
set -gx D /mnt/LocalDiskD
set -gx ANDROID_HOME $D/Source/android/sdk
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

View File

@ -0,0 +1,4 @@
# Defined in /tmp/fish.5El2W1/compresspdf.fish @ line 1
function compresspdf
command gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=out$argv $argv
end

View File

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