aboutsummaryrefslogtreecommitdiff
path: root/local/bin/project-open
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2024-10-19 11:51:40 +0200
committerCharles Cabergs <me@cacharle.xyz>2024-10-19 11:51:40 +0200
commit83d53cbd9b99d05d19ddb0d6f680223ed2411ce2 (patch)
tree5ca777ca0caa5215054630d5c8b598fc491a93a3 /local/bin/project-open
parentaa42f2969717eda2e4c9d99943e9b5ee49249183 (diff)
downloaddotfiles-83d53cbd9b99d05d19ddb0d6f680223ed2411ce2.tar.gz
dotfiles-83d53cbd9b99d05d19ddb0d6f680223ed2411ce2.tar.bz2
dotfiles-83d53cbd9b99d05d19ddb0d6f680223ed2411ce2.zip
Add snippets directory to project-open
Diffstat (limited to 'local/bin/project-open')
-rwxr-xr-xlocal/bin/project-open3
1 files changed, 2 insertions, 1 deletions
diff --git a/local/bin/project-open b/local/bin/project-open
index 213315a..bf801b0 100755
--- a/local/bin/project-open
+++ b/local/bin/project-open
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
command -v rofi &&
menu_exec='rofi -dmenu' ||
@@ -10,6 +10,7 @@ dest=$(
find ~/git -mindepth 1 -maxdepth 1 -printf '%A@\t%f\n' |
sort -r |
cut -f 2 |
+ cat - <(echo ../snippets) |
$menu_exec -l 10 -p '~/git/'
)