[scripts] added work_projects to tms
This commit is contained in:
parent
325d237863
commit
7a7ef568e9
1 changed files with 2 additions and 1 deletions
|
@ -5,10 +5,11 @@ if [[ $# -eq 1 ]]; then
|
|||
else
|
||||
uni_projects=$(find ~/projects/University -mindepth 3 -maxdepth 3 -type d)
|
||||
personal_projects=$(find ~/projects/Personal -mindepth 1 -maxdepth 1 -type d)
|
||||
work_projects=$(find ~/projects/Work -mindepth 1 -maxdepth 1 -type d)
|
||||
gits=$(find ~/gits -mindepth 1 -maxdepth 1 -type d)
|
||||
dotfiles=$(find ~/.config -mindepth 1 -maxdepth 1 -type d)
|
||||
#Merge the two lists
|
||||
selected=$(echo -e "$uni_projects\n$personal_projects\n$dotfiles\n$gits" | fzf)
|
||||
selected=$(echo -e "$uni_projects\n$personal_projects\n$work_projects\n$dotfiles\n$gits" | fzf)
|
||||
fi
|
||||
|
||||
if [[ -z $selected ]]; then
|
||||
|
|
Loading…
Reference in a new issue