summaryrefslogtreecommitdiff
path: root/scripts/project
blob: e306dfad1ce910727b80c23c4da1cf7aedb2820a (plain)
1
2
3
4
5
6
7
8
9
10
11
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