This commit is contained in:
Øyvind Jensen 2025-04-27 21:00:35 +02:00
commit b3e5debc5f
11 changed files with 27 additions and 0 deletions

2
zfdc Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
cat ~/.zz/cells | fzf --layout=reverse --height=40% | awk -F ';' '{print $1}'

2
zfdd Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
cat ~/.zz/dims | fzf --layout=reverse --height=40% | awk -F ';' '{print $1}'

2
zfdl Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
zgrepl `zfdc` | sed 's/;/ /g' | zread

2
zgrepc Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
grep $1 ~/.zz/cells

2
zgrepd Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
grep $1 ~/.zz/dims

2
zgrepl Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
grep $1 ~/.zz/links

2
zmkc Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
echo "`dbus-uuidgen`;$1" >> ~/.zz/cells

2
zmkd Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
echo "`dbus-uuidgen`;$1" >> ~/.zz/dims

3
zmkl Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
echo "`zfdc`;`zfdd`;`zfdc`" >> ~/.zz/links

8
zread Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
while read neg dim pos
do
echo "neg: `zgrepc $neg`"
echo "dim: `zgrepd $dim`"
echo "pos: `zgrepc $pos`"
echo ""
done

0
zrm Executable file
View file