Skip to content

A TUI application made to traverse directories on a Linux shell

Notifications You must be signed in to change notification settings

WilliamKSilva/directory-picker-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demonstration

simplescreenrecorder-2024-03-18_20.21.46.online-video-cutter.com.mp4

Installation

  • Check the releases page to download the .tar.gz for linux: https://github.com/WilliamKSilva/directory-picker-go/releases
  • To install the application run: rm -rf /usr/local/directory-picker-go && tar -C /usr/local -xzf directory-picker-go.tar.gz (You may need to run as sudo)
  • Will also need to add an alias on your shell config file (.bashrc or .zshrc): alias dp='/usr/local/directory-picker-go/bin/directory-picker-go && source /usr/local/directory-picker-go/change-directory.sh' This is needed so the shell can invoke the cd command based on the path saved on an .sh file stored on the root of the application at /usr/local

Next steps

  • Record basic video showing the current state of the TUI
  • Add better docs showing how to install and run the TUI without the need of building from source
  • Most visited directories show up at the top of the list
  • Add initial most common directories for user to choose before some frequence is already established Example: If you type "local" before having already visited /usr/local/, /usr/local will not appear in the list, will you have to type "usr/local" to go to this directory for the first time.
  • Some basic customization (dont want the TUI to be so bloated)

How to build

  • You need Go toolchain installed
  • Clone this repo
  • go build
  • Add an alias on your .bashrc or .zshrc: alias dp='sudo PATH-TO-REPO/directory-picker-go/directory-picker-go && source PATH-TO-REPO/directory-picker-go/change-directory.sh'

About

A TUI application made to traverse directories on a Linux shell

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages