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