diff options
| author | Alex Leferry 2 <alexherbo2@gmail.com> | 2020-08-14 02:23:45 +0200 |
|---|---|---|
| committer | Alex Leferry 2 <alexherbo2@gmail.com> | 2020-08-14 02:23:45 +0200 |
| commit | c68b2edf29bae7b73a39f5069190f9d9fb8bf688 (patch) | |
| tree | b6d2dce12dd4dca3feaaab6d81aaf9d1118cd6d0 /rc | |
| parent | 00f8413c8baa4791ef1acb86ec7640e832d17fae (diff) | |
Revert : alias in scripting
Diffstat (limited to 'rc')
| -rwxr-xr-x | rc/paths/commands/:buffer | 4 | ||||
| -rwxr-xr-x | rc/paths/commands/:cd | 2 | ||||
| -rwxr-xr-x | rc/paths/commands/:edit | 4 | ||||
| -rwxr-xr-x | rc/paths/commands/:get | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/rc/paths/commands/:buffer b/rc/paths/commands/:buffer index a6715f6..0d63f2a 100755 --- a/rc/paths/commands/:buffer +++ b/rc/paths/commands/:buffer @@ -1,7 +1,7 @@ #!/bin/sh # Open buffer -: buffer "$@" +:send buffer "$@" # Focus back the client -: focus +:send focus diff --git a/rc/paths/commands/:cd b/rc/paths/commands/:cd index 56b5973..a936e3c 100755 --- a/rc/paths/commands/:cd +++ b/rc/paths/commands/:cd @@ -1,4 +1,4 @@ #!/bin/sh # Sync to your current working directory -: cd "$PWD" +:send cd "$PWD" diff --git a/rc/paths/commands/:edit b/rc/paths/commands/:edit index 5569a3d..65c26d9 100755 --- a/rc/paths/commands/:edit +++ b/rc/paths/commands/:edit @@ -29,7 +29,7 @@ commands=$( done ) -: "$commands" +:send "$commands" # Focus back the client -: focus +:send focus diff --git a/rc/paths/commands/:get b/rc/paths/commands/:get index 8c5686e..13bf2fc 100755 --- a/rc/paths/commands/:get +++ b/rc/paths/commands/:get @@ -3,5 +3,5 @@ # Get a value from a client mkfifo connect.fifo trap 'rm connect.fifo' EXIT -: echo -to-file "$PWD/connect.fifo" "$@" +:send echo -to-file "$PWD/connect.fifo" "$@" cat connect.fifo |
