aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 0a5c5ad435507f86c8d2f70d92001be8aed44b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# xsc3

**xsc3** (e**X**tremely**S**imple**C**alculator **3**): the easiest way to calculate stuff in the terminal

syntax: `xsc <num1> <(+|-|x|/|%|^)> <num2>` or `xsc r <num>`

pros: supports floating point number operations.. or something

## AUR

**xsc3** is now available on the [Arch User Repository](https://aur.archlinux.org/packages/xsc),

install it with your favourite AUR helper:

* `yay` : `yay -S xsc`
* `paru` : `paru -S xsc`
* `trizen` : `trizen -S xsc`
* `pamac` : `pamac build xsc`
* `aurman` : `aurman -S xsc`

## dependencies

* `figlet` : `paru -S figlet`
* `lolcat` : `paru -S lolcat`

## manual installation one-liner

#### downloads dependencies, clones repo and compiles **xsc3** ;

`paru -S figlet lolcat gcc && git clone https://github.com/jstmaxlol/xsc && cd ./xsc && g++ -o xsc xsc.cpp -O2 -std=c++23`
#### (optional, but recommended for actually using xsc) moves **xsc3** to PATH ;
`mv ./xsc /usr/bin/xsc`
if didn't know, adding a binary to PATH makes it so that you do not have to find yourself in the installation path of the binary to execute it!

## usage

uhh.. `xsc h` and stfu