Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function subp() {
- subl_root=~/sublime-project
- ext=sublime-project
- project_name=$(ls $subl_root | grep .$ext | cut -d. -f1 | peco)
- if [[ -n "$project_name" ]]; then
- subl "$subl_root/$project_name.$ext"
- fi
- }
Add Comment
Please, Sign In to add comment