all repos — dotfiles @ 827ca13004fcdccf41da2898a96ae43691aeb5de

my *nix dotfiles

Switch to acme and write this commit in acme
Anirudh Oppiliappan x@icyphox.sh
Mon, 11 Oct 2021 09:44:10 +0530
commit

827ca13004fcdccf41da2898a96ae43691aeb5de

parent

41ea63b97e7352960b7780db602d0bfb254cc7e8

M .gitignore.gitignore

@@ -1,1 +1,2 @@

prompt/prompt +editinacme
M bash/.bashrc.d/04-exports.bashbash/.bashrc.d/04-exports.bash

@@ -5,6 +5,9 @@ export PATH=$PATH:/usr/local/go/bin

export PATH=$PATH:$HOME/go/bin export PATH=$PATH:/usr/local/pgsql/bin +export PLAN9=/usr/local/plan9 +export PATH=$PATH:$PLAN9/bin + # export thingys export EDITOR=/usr/local/bin/nvim export SSH_KEY_PATH="~/.ssh/id_rsa"
M darwin/com.googlecode.iterm2.plistdarwin/com.googlecode.iterm2.plist

@@ -1361,7 +1361,7 @@ <real>1.1399999999999999</real>

<key>Visual Bell</key> <true/> <key>Window Type</key> - <integer>0</integer> + <integer>12</integer> <key>Working Directory</key> <string>/Users/icy</string> </dict>
M home/.gitconfighome/.gitconfig

@@ -1,35 +1,42 @@

[user] - name = Anirudh Oppiliappan - email = x@icyphox.sh - signingkey = 8A93F96F78C5D4C4 + name = Anirudh Oppiliappan + email = x@icyphox.sh + signingkey = 8A93F96F78C5D4C4 [commit] - gpgsign = true - verbose = true + gpgsign = true + verbose = true [gpg] - program = gpg + program = gpg [credential] - helper = store + helper = store [sendemail] - smtpserver = smtp.migadu.com - smtpuser = x@icyphox.sh - smtpencryption = ssl - smtpserverport = 465 + smtpserver = smtp.migadu.com + smtpuser = x@icyphox.sh + smtpencryption = ssl + smtpserverport = 465 [init] - defaultBranch = master + defaultBranch = master [diff] tool = vimdiff3 [difftool "vimdiff3"] path = nvim - prompt = false + prompt = false [merge] tool = vimdiff3 [mergetool "vimdiff3"] path = nvim - prompt = false + prompt = false [bash] showDirtyState = true showUntrackedFiles = false [pull] rebase = true +[color] + ui = false + branch = false + diff = false + interactive = false + status = false + log = false
A home/bin/a

@@ -0,0 +1,11 @@

+#!/bin/sh + +export NO_COLOR=1 +export PAGER=nobs + +if ! pgrep -x plumber > /dev/null +then + plumber +fi + +acme -a -f /mnt/font/SFMono-Regular/13a/font $1
A home/bin/i

@@ -0,0 +1,3 @@

+#!/bin/sh + +fold -s -w 72
M prompt/git.goprompt/git.go

@@ -48,8 +48,8 @@ Flags: git.StatusOptIncludeUntracked,

}) n, _ := sl.EntryCount() if n != 0 { - return red("×") + return "×" } else { - return green("•") + return "•" } }
M prompt/prompt.goprompt/prompt.go

@@ -13,18 +13,6 @@ const (

promptSym = "▲" ) -var ( - red = color("\033[31m%s\033[0m") - green = color("\033[32m%s\033[0m") - cyan = color("\033[36m%s\033[0m") -) - -func color(s string) func(...interface{}) string { - return func(args ...interface{}) string { - return fmt.Sprintf(s, fmt.Sprint(args...)) - } -} - // Truncates the current working directory: // /home/icy/foo/bar -> ~/f/bar func trimPath(cwd, home string) string {

@@ -58,7 +46,7 @@ if len(gitDir) > 0 {

repo, _ := git.OpenRepository(getGitDir()) return fmt.Sprintf( "\n%s (%s %s)\n%s", - cyan(trimPath(cwd, home)), + trimPath(cwd, home), gitBranch(repo), gitStatus(repo), promptSym,

@@ -66,7 +54,7 @@ )

} return fmt.Sprintf( "\n%s\n%s", - cyan(trimPath(cwd, home)), + trimPath(cwd, home), promptSym, ) }
M weechat/sec.confweechat/sec.conf

@@ -17,4 +17,4 @@ salt = on

[data] __passphrase__ = on -znc = "09235C38028FDCF9778EF7437EF98D555F913CE81D3594D5AEE99E27794EA1F9484759F6C72098C7B7654D9E45199AAA2D5B75" +znc = "10C0FB5569FE5F57813CB92E479401289374F87D98530BE78F4DB987CA3B3104854767B863D1A808CB3055D064F3EA392D6AE7"
M weechat/weechat.confweechat/weechat.conf

@@ -400,11 +400,27 @@ title.type = window

[layout] default.buffer = "core;weechat;1" -default.buffer = "irc;server.rizon;2" -default.buffer = "irc;rizon.#buddy;3" -default.buffer = "irc;rizon.#bullshit;4" -default.buffer = "irc;rizon.#homescreen;5" -default.buffer = "irc;rizon.#rice;6" +default.buffer = "irc;server.libera;2" +default.buffer = "irc;libera.##crustaceans;3" +default.buffer = "irc;libera.#go-nuts;4" +default.buffer = "irc;libera.#kisslinux;5" +default.buffer = "irc;libera.#kubernetes;6" +default.buffer = "irc;libera.#linux;7" +default.buffer = "irc;libera.#lobsters;8" +default.buffer = "irc;libera.#neovim;9" +default.buffer = "irc;libera.#nixers;10" +default.buffer = "irc;libera.#openbsd;11" +default.buffer = "irc;libera.#opsec;12" +default.buffer = "irc;libera.#plan9;13" +default.buffer = "irc;libera.#python;14" +default.buffer = "irc;libera.#security;15" +default.buffer = "irc;server.rizon;16" +default.buffer = "irc;rizon.#buddy;17" +default.buffer = "irc;rizon.#bullshit;18" +default.buffer = "irc;rizon.#homescreen;19" +default.buffer = "irc;rizon.#rice;20" +default.buffer = "irc;rizon.*awaystore;21" +default.buffer = "irc;rizon.prithu;22" default.window = "1;0;0;0;irc;rizon.Carp" default.current = on