From 68e330f9fbb43947dc6070f17e87cb7f12387675 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Sun, 19 Dec 2021 06:31:30 +0800 Subject: [PATCH] Removed unused. --- .custom_bash_scripts | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.custom_bash_scripts b/.custom_bash_scripts index 5df1461..df4c987 100644 --- a/.custom_bash_scripts +++ b/.custom_bash_scripts @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # nnn # for nnn file manager @@ -59,20 +59,6 @@ pacsizes() pacman -Qi $1 | awk '/^Name/{name=$3} /^Installed Size/{size=$4$5; print size, name;}' | sort -h } -# unreal compile -# Courtesy of mrzapp from https://forums.unrealengine.com/development-discussion/c-gameplay-programming/97022-linux-how-to-compile-c-scripts-from-terminal - -function unrealbuild { - UNR_PATH=/opt/UnrealEngine; - RANDNUM=$(( ( RANDOM % 1000 ) + 1000 )); - CURR_DIR=`pwd`; - PROJ_NAME=$(basename ${1%.uproject}); - - echo $RANDNUM - - ${UNR_PATH}/Engine/Build/BatchFiles/Linux/RunMono.sh ${UNR_PATH}/Engine/Binaries/DotNET/UnrealBuildTool.exe $PROJ_NAME -ModuleWithSuffix $PROJ_NAME Linux Development -editorrecompile -canskiplink "${CURR_DIR}/${PROJ_NAME}.uproject" -progress -} - # view markdown files in zathura viewmd() { @@ -105,4 +91,3 @@ tzathura() fi zathura "$@" -e $(