small pixel drawing of a pufferfish dotfiles

adjust prompt, use vim github highlighting
Jes Olson jolson@digitalocean.com
Tue, 26 Oct 2021 10:39:57 -0500
commit

99b13ca1a86731ccd903cc4d0d935c526a9ae7ec

parent

fc10eff8dbfddba8f00d1c4a52cbd612a768e74e

3 files changed, 11 insertions(+), 1 deletions(-)

jump to
M .config/nvim/init.vim.config/nvim/init.vim

@@ -4,7 +4,11 @@ Plug 'neovim/nvim-lspconfig'

Plug 'nvim-lua/plenary.nvim' " lua funcs i guess Plug 'vhyrro/neorg' Plug 'hrsh7th/nvim-compe' +Plug 'ctrlpvim/ctrlp.vim' +Plug 'cormacrelf/vim-colors-github' call plug#end() + +colorscheme github " idk, this resolved the following weirdness: " https://github.com/vim/vim/issues/2049
M bin/prompt.gobin/prompt.go

@@ -10,13 +10,19 @@

func main() { cwd, _ := os.Getwd() host, _ := os.Hostname() + emoji := "💀" + if host == "zora" { + emoji = "🍣" + } else if host == "nostromo" { + emoji = "🛸" + } home := os.Getenv("HOME") var parts []string if strings.HasPrefix(cwd, home) { cwd = "~" + cwd[len(home):] } now := time.Now().Format("15:04:05") - fmt.Printf("[%s] 🍣%s ", now, host) + fmt.Printf("[%s] %s%s ", now, emoji, host) parts = strings.Split(cwd, "/") for i, part := range parts {