<commit_before>function repo --description 'Go to repository'
    if not type "ghq" > /dev/null 2>&1
        echo 'repo: error ghq not installed'
        return
    end
    switch (count $argv)
        case 0
            cd (ghq root)
        case 1
            cd (ghq list -p -e $argv[1])
        case 2
            echo $argv[1]
            if test $argv[1] = '-d'
                ghq list -p -e $argv[2] | xargs rm -rf
            end<commit_msg>fish: Add interactive mode to repo function<commit_after>function repo --description 'Go to repository'
    if not type "ghq" > /dev/null 2>&1
        echo 'repo: error ghq not installed'
        return 1
    else if not type "fzf" > /dev/null 2>&1
        echo "repo: error fzf not installed"
        return 1
    end
    switch (count $argv)
        case 0
            ghq list | fzf | read fzf_last_select
            if [ $fzf_last_select ]
                cd (ghq list -e -p $fzf_last_select)
            end
        case 1
            cd (ghq list -p -e $argv[1]) case 2 echo $argv[1]
            if test $argv[1] = '-d'
                ghq list -p -e $argv[2] | xargs rm -rf
            end
{'fraction_non_alphanumeric': 0.0967741935483871, 'fraction_numerical': 0.01918047079337402, 'mean_word_length': 1.4477611940298507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4298790', 'n_tokens_mistral': 386, 'n_tokens_neox': 366, 'n_words': 138}