summaryrefslogtreecommitdiffstats
path: root/src/vfs/fish/helpers/mv
diff options
context:
space:
mode:
Diffstat (limited to 'src/vfs/fish/helpers/mv')
-rw-r--r--src/vfs/fish/helpers/mv6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vfs/fish/helpers/mv b/src/vfs/fish/helpers/mv
new file mode 100644
index 0000000..c8cf70c
--- /dev/null
+++ b/src/vfs/fish/helpers/mv
@@ -0,0 +1,6 @@
+#RENAME $FISH_FILEFROM $FISH_FILETO
+if mv "/${FISH_FILEFROM}" "/${FISH_FILETO}" 2>/dev/null; then
+ echo "### 000"
+else
+ echo "### 500"
+fi