summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/project12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/project b/scripts/project
new file mode 100755
index 0000000..e306dfa
--- /dev/null
+++ b/scripts/project
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ "$TERM" = "linux" ]; then
+ exit 1
+fi
+
+dir="$(find ~/Dev ~/Dev/CPP/comp-org/ -mindepth 2 -maxdepth 2 -type d | fzf)"
+if [ -z "$dir" ]; then
+ return
+else
+ cd "$dir"
+fi