my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

adjust prompt, use vim github highlighting

+11 -1
+4
.config/nvim/init.vim
··· 4 4 Plug 'nvim-lua/plenary.nvim' " lua funcs i guess 5 5 Plug 'vhyrro/neorg' 6 6 Plug 'hrsh7th/nvim-compe' 7 + Plug 'ctrlpvim/ctrlp.vim' 8 + Plug 'cormacrelf/vim-colors-github' 7 9 call plug#end() 10 + 11 + colorscheme github 8 12 9 13 " idk, this resolved the following weirdness: 10 14 " https://github.com/vim/vim/issues/2049
+7 -1
bin/prompt.go
··· 10 10 func main() { 11 11 cwd, _ := os.Getwd() 12 12 host, _ := os.Hostname() 13 + emoji := "💀" 14 + if host == "zora" { 15 + emoji = "🍣" 16 + } else if host == "nostromo" { 17 + emoji = "🛸" 18 + } 13 19 home := os.Getenv("HOME") 14 20 var parts []string 15 21 if strings.HasPrefix(cwd, home) { 16 22 cwd = "~" + cwd[len(home):] 17 23 } 18 24 now := time.Now().Format("15:04:05") 19 - fmt.Printf("[%s] 🍣%s ", now, host) 25 + fmt.Printf("[%s] %s%s ", now, emoji, host) 20 26 21 27 parts = strings.Split(cwd, "/") 22 28 for i, part := range parts {
bin/x86_64/prompt

This is a binary file and will not be displayed.