From fc26687a4bf1d0b7dd15115c34bd2e42666e8060 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Fri, 24 May 2019 02:00:58 +0200 Subject: [PATCH] Add readme and rawinstall --- README.md | 41 ++++++++++++++++++++++++++++++++++++++++- rawinstall.sh | 9 +++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100755 rawinstall.sh diff --git a/README.md b/README.md index d5a2377..108f4ea 100644 --- a/README.md +++ b/README.md @@ -1 +1,40 @@ -# masters-thesis \ No newline at end of file +# master thesis + +## What + +This project is the first phase of my master thesis. + +It records shell history with rich set of metadata. + +## Why + +The ultimate point of my thesis is to provide a drop-in replacement for bash and zsh shell history. + +The idea is to provide following: +- Context-based history +- Simple way to search whole history by command itself and/or metadata +- Synchronization across devices +- And more ... + +## Prereqisities + +- `git` +- `golang` (>1.11 if possible but we can deal with old ones as well ) + +## Installation + +Simplest: +Just run `curl | bash` from anywhere. + +Simple: +1. Run `git clone https://github.com/curusarn/resh.git && cd resh` +2. Run `make autoinstall` for assisted build & instalation. OR Run `make install` if you know how to build Golang projects. + +## Compatibility + +Works in `bash` and `zsh`. + +Tested on: +- Arch +- Ubuntu +- MacOS diff --git a/rawinstall.sh b/rawinstall.sh new file mode 100755 index 0000000..358b481 --- /dev/null +++ b/rawinstall.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -euo pipefail + +tmpdir="$(mktemp -d /tmp/resh-XXX)" +cd "$tmpdir" +git clone https://github.com/curusarn/resh.git +cd resh +make autoinstall