xaizek / hstr (License: Apachev2) (since 2018-12-07)
Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history.
Commit daa2c5ab8d624e96f234f13b185c8db04dc3ac9b

Adding Mac howto to MD (credits goess to Alex)
Author: Martin Dvorak
Author date (UTC): 2014-01-13 06:23
Committer name: Martin Dvorak
Committer date (UTC): 2014-01-13 06:23
Parent(s): 9e7499b95783e4ba52da14b028d0421d794d7c82
Signing key:
Tree: 00c53b3d027650a8e50cce838dc93864afd78aca
File Lines added Lines deleted
README.md 15 0
src/hstr.c 1 1
File README.md changed (mode: 100644) (index 4dd203d..f0d4394)
... ... SOURCE CODE INSTALLATION
40 40 * Configure `hh` as described below. * Configure `hh` as described below.
41 41
42 42
43 MAC OS
44 ------
45 * install http://www.macports.org
46 * configure using:
47
48 `env CFLAGS="-I/opt/local/include -I/usr/include" LDFLAGS="-L/opt/local/lib -L/usr/lib" ./configure`
49
50 * finish the installation
51
52 `make && make install`
53
54 * Configure `hh` as described below.
55
56
57
43 58 CONFIGURATION CONFIGURATION
44 59 ------------ ------------
45 60 * add * add
File src/hstr.c changed (mode: 100644) (index 5d11a7b..823e4ba)
... ... int print_prompt()
83 83 char *user = getenv(ENV_VAR_USER); char *user = getenv(ENV_VAR_USER);
84 84 int xoffset = 1; int xoffset = 1;
85 85
86 mvwprintw(stdscr, xoffset, Y_OFFSET_PROMPT, "%s@%s$ ", user, hostname);
86 mvwprintw(stdscr, xoffset, Y_OFFSET_PROMPT, "%s@%s:$ ", user, hostname);
87 87 refresh(); refresh();
88 88
89 89 return xoffset+strlen(user)+1+strlen(hostname)+1; return xoffset+strlen(user)+1+strlen(hostname)+1;
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/hstr

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/hstr

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master