mirror of
https://github.com/jarun/advcpmv.git
synced 2026-02-01 13:17:41 +01:00
Update README.md
Added mirrored fish commands.
This commit is contained in:
17
README.md
17
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`.
|
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)
|
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.
|
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
|
## 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/advcp /usr/local/bin/
|
||||||
sudo mv ./advcpmv/advmv /usr/local/bin/
|
sudo mv ./advcpmv/advmv /usr/local/bin/
|
||||||
|
```
|
||||||
|
|
||||||
|
Bash:
|
||||||
|
```
|
||||||
echo alias cp '/usr/local/bin/advcp -g' >> ~/.bashrc
|
echo alias cp '/usr/local/bin/advcp -g' >> ~/.bashrc
|
||||||
echo alias mv '/usr/local/bin/advmv -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
|
## Upstream merge
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user