summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-02-10 05:26:47 -0500
committerBen Sima <ben@bsima.me>2022-02-10 05:27:34 -0500
commitfc8f598606e4b921d9898383877035ffc6e66832 (patch)
treedf3762746c17fff26d2cd11b2fae12e73d178513
parent032044685589be5cb68be4c72e001c4e5879998c (diff)
fix showpath
-rw-r--r--lib/common.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common.nix b/lib/common.nix
index bf9b3c6..ec3da1d 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -368,7 +368,7 @@ in
--ansi --phony --query "$INITIAL_QUERY" \
--height=50% --layout=reverse
'';
- showpath = "echo $PATH | sed 's/:/\n/g'";
+ showpath = ''echo $PATH | sed "s/:/\n/g"'';
tdate = "date +%Y.%m.%d..%H.%M";
ttime = "date +%H.%M";
typeless = "history | tail -n 20000 | sed 's/.* //' | sort | uniq -c | sort -g | tail -n 100";