From b6ceba01306c56a31921add25df3bacded0140e0 Mon Sep 17 00:00:00 2001 From: Pysis Date: Sun, 26 Feb 2023 18:47:26 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index fe00a59..bc78861 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@ advcpmv-0.5-8.21.patch was the last patch released by the author (on February 14 ## Build instructions +Requires the following dependencies: + - patch + - gcc + Run the following command to download, patch, compile coreutils and generate the files: `./advcpmv/advcp` and `./advcpmv/advmv`. ``` From 2eec987a8c549a91d294c79020d4b17d2eca3bcf Mon Sep 17 00:00:00 2001 From: Pysis Date: Thu, 2 Mar 2023 11:10:39 -0500 Subject: [PATCH 2/2] Update README.md Added mirrored fish commands. --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc78861..c380525 100644 --- a/README.md +++ b/README.md @@ -16,14 +16,19 @@ Requires the following dependencies: Run the following command to download, patch, compile coreutils and generate the files: `./advcpmv/advcp` and `./advcpmv/advmv`. +Bash: ``` curl https://raw.githubusercontent.com/jarun/advcpmv/master/install.sh --create-dirs -o ./advcpmv/install.sh && (cd advcpmv && sh install.sh) ``` +Fish: +``` +curl https://raw.githubusercontent.com/jarun/advcpmv/master/install.sh --create-dirs -o ./advcpmv/install.sh; and begin; cd advcpmv; and sh install.sh; end +``` To install an older version than the latest one, you can specify the version by passing it as an argument to the install script (at the end of the command, before the closing parenthesis). For example, if you want to install `advcpmv-0.8-8.32.patch` you would modify the command above like so. ``` -... && (cd advcpmv && sh install.sh 0.8 8.32) +... sh install.sh 0.8 8.32 ... ``` ## Usage @@ -46,9 +51,19 @@ You can install the binaries and create aliases for bash (or whatever you use) ``` sudo mv ./advcpmv/advcp /usr/local/bin/ sudo mv ./advcpmv/advmv /usr/local/bin/ +``` + +Bash: +``` echo alias cp '/usr/local/bin/advcp -g' >> ~/.bashrc echo alias mv '/usr/local/bin/advmv -g' >> ~/.bashrc ``` +Fish: +``` +echo alias cp '/usr/local/bin/advcp -g' >> ~/.config/fish/config.fish +echo alias mv '/usr/local/bin/advmv -g' >> ~/.config/fish/config.fish +``` +``` ## Upstream merge