summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authorAlex Leferry 2 <alexherbo2@gmail.com>2020-08-14 01:28:54 +0200
committerAlex Leferry 2 <alexherbo2@gmail.com>2020-08-14 01:28:54 +0200
commitf8c041315fa80f31c1d7265a3e4195a8fb55bdb3 (patch)
tree7862fb00aa67c4a28c835dc8abddcc9695a6782b /rc
parent7fe2efc9bed557373e9c9cfe860d8e684dfd56bc (diff)
Add an :open command
Diffstat (limited to 'rc')
l---------rc/paths/aliases/:o1
l---------rc/paths/aliases/o1
-rwxr-xr-xrc/paths/commands/:open3
3 files changed, 5 insertions, 0 deletions
diff --git a/rc/paths/aliases/:o b/rc/paths/aliases/:o
new file mode 120000
index 0000000..d2da991
--- /dev/null
+++ b/rc/paths/aliases/:o
@@ -0,0 +1 @@
+../commands/:open \ No newline at end of file
diff --git a/rc/paths/aliases/o b/rc/paths/aliases/o
new file mode 120000
index 0000000..d2da991
--- /dev/null
+++ b/rc/paths/aliases/o
@@ -0,0 +1 @@
+../commands/:open \ No newline at end of file
diff --git a/rc/paths/commands/:open b/rc/paths/commands/:open
new file mode 100755
index 0000000..bea5143
--- /dev/null
+++ b/rc/paths/commands/:open
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+:send '>' :attach "$@"