commit a50b7b734f8ed7ce92f805d4d70bfbc299e954c4
parent d8f458e0ed3d1d593b948e504392a001b0e1aaf3
Author: Anton Konyahin <me@konyahin.xyz>
Date: Sun, 10 Mar 2024 13:04:52 +0300
sh: fix jp command
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sh/.config/ksh/kshrc b/sh/.config/ksh/kshrc
@@ -70,7 +70,7 @@ me () {
jp () {
projects=$(find ~/project/ -type d -maxdepth 1 -mindepth 1 ! -name konyahin)
personal=$(find ~/project/konyahin -type d -maxdepth 1 -mindepth 1)
- selected=$(echo "$projects" "$personal" | fzf)
+ selected=$(echo "$projects\n$personal" | fzf)
[ -n "$selected" ] && cd "$selected"
}