1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-27 07:26:43 +00:00

Fish: support more mounted paths

This commit is contained in:
Phantop 2020-03-08 22:26:36 -04:00
parent f4e489b0f7
commit 6277f019a3
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
# PATHS #
set fish_user_paths $D/Tools/bin $D/Installs/appimage $ANDROID_HOME/platform-tools /sbin /bin /usr/sbin /usr/bin /run/media/$USER/disk/jdk/bin
set fish_user_paths $D/Tools/bin $D/Installs/appimage $ANDROID_HOME/platform-tools /sbin /bin /usr/sbin /usr/bin /run/media/$USER/disk*/*/bin /run/media/$USER/disk*/bin
set fish_function_path $fish_function_path $D/Games/Minecraft/Game/functions
# PROGRAM SETTINGS #

View file

@ -1,4 +1,4 @@
# Defined in /tmp/fish.Yuay2h/minecraft.fish @ line 2
# Defined in /tmp/fish.5P1uxK/minecraft.fish @ line 2
function minecraft
cd $D/Games/Minecraft/Game
rm (ff -e log)
@ -9,6 +9,7 @@ function minecraft
kj
end
end
set -x PATH /run/media/$USER/disk/jdk/bin $PATH
bin/MultiMC -d . $argv
rm functions/*
for i in (ls -d instances/*/ | grep -v _MMC_TEMP | xargs -n1 basename)