added some more aliases
[dotfiles] / .bash_compl
1 #!/bin/sh
2
3 # to complete jump
4 _completemarks() {
5 local curw=${COMP_WORDS[COMP_CWORD]}
6 local wordlist=$(find $MARKPATH -type l -printf "%f\n")
7 COMPREPLY=($(compgen -W '${wordlist[@]}' -- "$curw"))
8 return 0
9 }
10
11 # complete jump & unmark commands with result of _completemarks
12 complete -F _completemarks jump unmark