A wrapper function to allow mv to swap the location or contents of targeted files or folders
Go to file
Abreu afda54cd65
Update README.md
2021-08-09 19:56:01 -03:00
completions Initial commit 2021-08-07 19:07:44 -03:00
functions Initial commit 2021-08-07 19:07:44 -03:00
hooks Initial commit 2021-08-07 19:07:44 -03:00
.gitignore Initial commit 2021-08-07 19:07:44 -03:00
LICENSE Initial commit 2021-08-07 19:07:44 -03:00
README.md Update README.md 2021-08-09 19:56:01 -03:00
instructions.fish Initial commit 2021-08-07 19:07:44 -03:00

README.md

GPL License Fish Shell Version Oh My Fish Framework Install

Swap

A plugin for Oh My Fish

A wrapper function to allow mv to swap the location or contents of targeted files or folders

Syntax

mv [option] [file] [file]

Options

-s/--swap

Trigger this function

-c/--contents

Swap contents intead of location. Contents of a file can only be swaped with those of another file, the same applies for folders.

-h/--help

Display the function description and instructions

Install

omf repositories add https://gitlab.com/argonautica/argonautica 
omf install swap