Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goShell

An enhanced Unix shell wrapper built with Go featuring an interactive UI and intelligent autocomplete.

Features

  • Interactive UI: Clean, colorized interface powered by go-prompt
  • Smart Autocomplete: zsh-like tab completion for commands and files
  • Path Navigation: Support for absolute paths, relative paths, and ~ expansion
  • File Type Detection: Rich descriptions for different file types
  • Hidden Files: Show hidden files when typing .
  • Built-in Commands: Enhanced cd, pwd, clear, and exit

Installation

git clone https://github.com/Aashrithc/goShell
cd goShell
go run main.go

Usage

  • Use Tab for autocomplete suggestions
  • Arrow keys for command history navigation
  • Type exit to quit the shell

Autocomplete Examples

  • ls R<TAB> → completes to README.md
  • cd ~/D<TAB> → completes to ~/Documents/
  • cat src/<TAB> → shows files in src/ directory
  • .g<TAB> → shows hidden files starting with .g

Built-in Commands

  • cd <path> - Change directory (supports ~ and relative paths)
  • pwd - Print working directory
  • clear - Clear screen
  • exit - Exit shell

Dependencies

About

Unix shell built in Go with custom UI and intelligent autocomplete.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages