diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2024-10-19 11:51:40 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2024-10-19 11:51:40 +0200 |
| commit | 83d53cbd9b99d05d19ddb0d6f680223ed2411ce2 (patch) | |
| tree | 5ca777ca0caa5215054630d5c8b598fc491a93a3 /local | |
| parent | aa42f2969717eda2e4c9d99943e9b5ee49249183 (diff) | |
| download | dotfiles-83d53cbd9b99d05d19ddb0d6f680223ed2411ce2.tar.gz dotfiles-83d53cbd9b99d05d19ddb0d6f680223ed2411ce2.tar.bz2 dotfiles-83d53cbd9b99d05d19ddb0d6f680223ed2411ce2.zip | |
Add snippets directory to project-open
Diffstat (limited to 'local')
| -rwxr-xr-x | local/bin/project-open | 3 |
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/' ) |
