dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 0dff47c28da1787ebcc0266e67a34559ef8de0b0
parent d58ebb0941b513a83bb07d33c450428b9f83de7c
Author: Hayden Hamilton <hayden@haydenvh.com>
Date:   Sat, 16 May 2020 22:01:06 +0100

internet`s back wew

Diffstat:
M.config/irssi/config | 2+-
M.config/nvim/colors/haydenh.vim | 4++--
A.config/nvim/ftdetect/dcgi.vim | 2++
M.config/nvim/ftdetect/gph.vim | 2+-
M.config/zsh/functions.zsh | 4++--
M.scripts/bin/misc/urlhand | 2+-
6 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/.config/irssi/config b/.config/irssi/config @@ -255,7 +255,7 @@ settings = { core = { real_name = "haydenh"; user_name = "haydenh"; - nick = "haydenh"; + nick = "haydenh_"; recode_transliterate = "no"; timestamp_format = "%H:%M:%S"; }; diff --git a/.config/nvim/colors/haydenh.vim b/.config/nvim/colors/haydenh.vim @@ -23,8 +23,8 @@ hi special ctermfg=255 guifg=#eeeeee gui=none hi link ErrorMsg Error hi link WarningMsg Error hi Cursor cterm=reverse ctermfg=255 guifg=#eeeeee gui=reverse -hi Search cterm=bold,underline ctermbg=5 guibg=#777b8e gui=bold,underline -hi IncSearch cterm=bold,underline ctermbg=5 guibg=#777b8e gui=bold,underline +hi Search cterm=bold ctermbg=5 guibg=#777b8e gui=bold +hi IncSearch cterm=bold ctermbg=5 guibg=#777b8e gui=bold hi title ctermfg=225 guifg=#ffd7ff gui=none " hi ShowMarksHL ctermfg=cyan ctermbg=lightblue cterm=bold guifg=yellow guibg=black gui=bold hi label ctermfg=255 guifg=#eeeeee gui=none diff --git a/.config/nvim/ftdetect/dcgi.vim b/.config/nvim/ftdetect/dcgi.vim @@ -0,0 +1,2 @@ +au BufNewFile,BufRead *.dcgi set filetype=sh +au BufNewFile,BufRead *.cgi set filetype=sh diff --git a/.config/nvim/ftdetect/gph.vim b/.config/nvim/ftdetect/gph.vim @@ -1,2 +1,2 @@ au BufNewFile,BufRead *.gph :set filetype=gph -setlocal syntax=gph +au BufNewFile,BufRead *.gph :set syntax=gph diff --git a/.config/zsh/functions.zsh b/.config/zsh/functions.zsh @@ -49,8 +49,8 @@ diary(){ phlog="$HOME/web/alcl/write" mkdir -p $phlog/daily.entries ~/.local/diary - vim -O ~/.local/publicd ~/.local/privated + vim -O ~/.local/public.gph ~/.local/privated printf '.txt or .gph?'; read ftype < /dev/tty - mv ~/.local/publicd $phlog/daily.entries/entry.of.$date.$ftype + mv ~/.local/public.gph $phlog/daily.entries/entry.of.$date.$ftype mv ~/.local/privated ~/.local/diary/$date } diff --git a/.scripts/bin/misc/urlhand b/.scripts/bin/misc/urlhand @@ -1,6 +1,6 @@ #!/bin/bash -link=$(grep -Eo 'https://[A-Za-z0-9\.&%?\/\=_-+]*|http://[A-Za-z0-9\.&%?\/\=_-+]*|gopher://[A-Za-z0-9\.&%?\/\=_-+]*' < /dev/stdin 2>/dev/null| dmenu -i -p 'Select url') +link=$(grep -Eo 'https://.*|http://.*|gopher://.*' < /dev/stdin 2>/dev/null | awk '{print $1}' | dmenu -i -p 'Select url') IFS=$'\n'