From 68fddefce950227a1d59e148526425d610700bf2 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 13 Jan 2019 14:46:01 -0500 Subject: Use colours in cash prompts --- home/.config/cash/cashrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'home') diff --git a/home/.config/cash/cashrc b/home/.config/cash/cashrc index cefa0321..573d7c2d 100644 --- a/home/.config/cash/cashrc +++ b/home/.config/cash/cashrc @@ -33,4 +33,9 @@ alias gr='git rebase' gra='gr --abort' grc='gr --continue' grs='gr --skip' alias rand='openssl rand -base64 33' alias private='eval "$(gpg -d ~/.private)"' -RPS1='\W' +af7=$(tput setaf 7 || tput AF 7) +sgr0=$(tput sgr0 || tput me) + +PSlit=$'\1' +PS1="${PSlit}${af7}${PSlit}\$${PSlit}${sgr0}${PSlit} " +RPS1="${PSlit}${af7}${PSlit}\\W${PSlit}${sgr0}${PSlit}" -- cgit 1.4.1 ect> dontfiles
summary refs log tree commit diff
path: root/bin/klon.c (unfollow)
Commit message (Collapse)Author
2018-07-30Use color numbers in colorschemeJune McEnroe
Neovim is really dumb about how it interprets the names, and at this point I actually know the order the colors are in.
2018-07-30Rename linux function in schemeJune McEnroe
The token 'linux' is #defined. Dumb.
2018-07-30Add gfx README and LICENSEJune McEnroe
2018-07-30Move graphical programs out of binJune McEnroe
I wonder when the last time was something needed -ledit...
2018-07-30Add Neckbeard DeathcampJune McEnroe
2018-07-29Just print rs1 in dtch restoreTermJune McEnroe
2018-07-29Fix dtch cmsg sizeJune McEnroe
Apparently you actually need CMSG_SPACE and not just CMSG_LEN... Well done, everyone.
2018-07-25Fix cfmakeraw callsJune McEnroe
It turns out that you're supposed to call cfmakeraw with a termios initialized by tcgetattr. Using an uninitialized termios resulted in hnel on NetBSD breaking the pty and causing a silent logout.
2018-07-23Remove nasm from installJune McEnroe
2018-07-23Add monday.local to sshJune McEnroe
2018-07-23Restore LDLIBS alphabetical orderJune McEnroe
2018-07-23Use EV_SET in watchJune McEnroe
On NetBSD, kevent.udata is intptr_t rather than void *, and their EV_SET macro does the cast.
2018-07-23Link with -lcursesJune McEnroe
Turns out that NetBSD has its own curses implementation and I'm all for not linking GNU software <3
2018-07-22Fix scheme indentationJune McEnroe
2018-07-16Add -m option to glitchJune McEnroe
2018-07-16malloc deflate buffer in glitchJune McEnroe
2018-07-16malloc the deflate buffer in pngoJune McEnroe
The stack is a baby.
2018-07-05Add shed bloodJune McEnroe