Skip to content

LinArcX/ush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ush

a universall shell with these features:

  • an easy syntax to write shell scripts.
  • works on both linux and windows.
  • ELN inspired by clifm

Build

Linux

./p

Build dependencies

  • git
  • a c++ compiler (clang, gcc or msvc)

TODO

Essential

  • ignore white spaces and don't put them into chars and args array.

  • Ctrl+Right -> go to next word.

  • Ctrl+Left -> go to previous word.

  • SPACE -> to move forwards all characters in right.

  • put command history in: $HOME/.config/ush/history/commands

    • UP -> go to next command in history.
    • Down -> go to previous command in history
    • Ctrl+r -> search recursively in history.
  • put directory history in: $HOME/.config/ush/history/dirs

    • Ctrl+j -> Go to next directory in history
    • Ctrl+k -> Go to previous directory in history
  • implement ELN inspired by clifm.

  • press tab offer auto-completion menu.

  • just typipng any character, will show as a hint the aviable command or avaiable history.

ushl

  • implement ush language. (which will be use in ush scripts and config file)
    • implement variables
    • implment functions
    • implement if statements
    • implement for loops.
    • implement config file in: $HOME/.ushrc
      • aiblity to change prompt.
        • add git status to prompt.

windows

  • implement all current features for windows

job control

  • jobs
  • fg
  • bg
  • wait
  • disown

util

  • Ctrl+a -> beginning of line.
  • Ctrl+e -> end of line.
  • Ctrl+Shift+Right -> select next word.
  • Ctrl+Shift+Left -> select previous word.
  • Ctrl+Shift+c -> Copy selected text or current character and put it in clipboard.
  • Ctrl+Shift+v -> Paste from clipboard to current location.

Sources of inspiration

  1. write-a-shell-in-c

About

universal shell

Topics

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors