Skip to content

jabernardo/TheF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shorthand ?! Press The F!

Shorthand application for navigating in your terminal. Jump into directories and auto-correct commands.

asciicast

Prerequisites

Before you continue, ensure you have met the following requirements:

  • You have installed Python ^3.6
  • You have install poetry

Installation

Clone Repository

# Clone repository
git clone https://github.com/jabernardo/TheF
cd TheF
# Install dependencies using poetry
pip install -r requirements.txt

Hook up in the shell!

bash

function f()
{
    source="python /{installation path}/main.py"

    if [[ ( $# -eq 0 ) ]]; then
        history -w
        $($source $1)
    elif [[ ( $1 == -* ) || ( $# -gt 1 ) ]]; then
        $source $@
    else
        cd $($source $1)
    fi
}

fish

function f
        set -l source "python /{installation path}/main.py"

        if test (count $argv) -eq 0
                history save
                eval (eval $source $argv --history "~/.local/share/fish/fish_history")
        else
                cd (eval $source $argv)
        end
end

Contibuting to TheF!

To contribute to TheF! Make sure to give a star and forked this repository.

Alternatively see the GitHub documentation on creating a pull request.

License

The TheF is open-sourced software licensed under the MIT license.

About

Shorthand ?! Press The F!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages