dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 78be66e28ed7346e841d7557a0a6e4b7a0cd7e72
parent c4d6f4c027bb7e81093ec7c588f027de568e6bb6
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue,  2 Jun 2020 12:47:20 -0400

fix

Diffstat:
M.local/bin/rotdir | 2+-
M.local/bin/sysact | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/rotdir b/.local/bin/rotdir @@ -9,4 +9,4 @@ [ -z "$1" ] && echo "usage: rotdir regex 2>&1" && exit 1 base="$(basename "$1")" -find "$PWD" | awk "BEGIN { lines = \"\"; m = 0; } /^$base$/ { m = 1; } { if (!m) { if (lines) { lines = lines\"\n\"; } lines = lines\"\"\$0; } else { print \$0; } } END { print lines; }" + ls "$PWD" | awk "BEGIN { lines = \"\"; m = 0; } /^$base$/ { m = 1; } { if (!m) { if (lines) { lines = lines\"\n\"; } lines = lines\"\"\$0; } else { print \$0; } } END { print lines; }" diff --git a/.local/bin/sysact b/.local/bin/sysact @@ -18,4 +18,4 @@ cmds="\ choice="$(echo "$cmds" | cut -d' ' -f 1 | dmenu)" || exit 1 -echo "$cmds" | grep "^$choice " | cut -d ' ' -f2- +`echo "$cmds" | grep "^$choice " | cut -d ' ' -f2-`