Add osz import helper
This commit is contained in:
parent
04e878da68
commit
5dd0c868dc
1 changed files with 15 additions and 0 deletions
|
@ -10,6 +10,21 @@ alias "quote=fortune -s linux debian|cowsay"
|
||||||
alias "besseretests=godot --headless -d -v -s --path . addons/besseretests/src/cmd.gd"
|
alias "besseretests=godot --headless -d -v -s --path . addons/besseretests/src/cmd.gd"
|
||||||
alias "besseretests-gui=godot -d -v -s --path . addons/besseretests/src/cmd.gd"
|
alias "besseretests-gui=godot -d -v -s --path . addons/besseretests/src/cmd.gd"
|
||||||
alias "rm=rm -ri"
|
alias "rm=rm -ri"
|
||||||
|
function osu-oszimport() {
|
||||||
|
if [ ! -f "${HOME}/.cache/osu.AppImage" ]; then
|
||||||
|
echo "--> Could not find ~/.cache/osu.AppImage"
|
||||||
|
echo " Please download and start osu! using osu!boot first."
|
||||||
|
else
|
||||||
|
for file in *.osz; do
|
||||||
|
if [ "${file}" == "*.osz" ]; then
|
||||||
|
echo "--> No .osz file has been found"
|
||||||
|
else
|
||||||
|
echo "--> Importing ${file}"
|
||||||
|
~/.cache/osu.AppImage "${file}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
export "RUSTFLAGS=-Z threads=$(nproc)"
|
export "RUSTFLAGS=-Z threads=$(nproc)"
|
||||||
export "EDITOR=nano"
|
export "EDITOR=nano"
|
||||||
function cleanhome() {
|
function cleanhome() {
|
||||||
|
|
Loading…
Reference in a new issue