Skip to content

xeyossr/terminalwrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Wrap

🧑‍💻 Which command do you use the most in the terminal? Let's find out the fun way!

Terminal wrap tool written in 👑 C++ 👑


preview

License Commits GitHub Repo stars GitHub issues GitHub pull requests

GitHub release (latest by date) AUR version

💫 Features

  • Supports all popular shells!

    • bash
    • zsh
    • fish
    • csh
  • Shows you motivational messages according to the command you use most. Show me your most used command and I'll tell you who you are 😀

  • Yo, what more are you waiting for? lol

💻 Installing


Installation

There are 2 ways to install TerminalWrap:

  1. Compile it on your own system (don't worry, this is much easier than you think)
  2. Download the compiled version (not recommended)

If you don't want to compile it, all you need to do is install TerminalWrap from the releases page and then add it to PATH. But if you want to compile it (recommended method) follow the steps below:

Compile yourself

  1. Clone the repository:
$ git clone https://github.com/xeyossr/terminalwrap.git
$ cd terminalwrap
  1. Dependencies:

You are expected to install the dependencies required to build TerminalWrap:

# Debian/Ubuntu
$ sudo apt install g++ libstdc++-dev cmake

# RHEL/CentOs/Fedora
$ sudo dnf install gcc-c++ libstdc++-devel cmake

# Arch
$ sudo pacman -S gcc cmake
  1. Compile the source code:
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build .
$ sudo cmake --install .
  1. Now you can run TerminalWrap with a single command!
$ terminalwrap

Installation on Arch-based distros

You can easily install TerminalWrap via AUR for Arch Linux-based systems.

  1. Install TerminalWrap via yay.
$ yay -S terminalwrap
  1. Now you can easily run TerminalWrap with a simple command!
$ terminalwrap

Usage

Usage: terminalwrap [OPTION]

Options:
  --help, -h       Show this help message.
  --bash           Force using Bash
  --zsh            Force using Zsh
  --fish           Force using Fish
  --csh            Force using Csh
  (default)        Detect the shell from the environment.

License

This project is licensed under the GNU General Public License v3.0. You are free to use, modify, and distribute the software under the terms of this license. For more details, please refer to the LICENSE file.

Thanks for idea & example 💬