diff options
author | terminaldweller <thabogre@gmail.com> | 2022-04-12 14:44:01 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-04-12 14:44:01 +0000 |
commit | e87f4b6c90a4608b7318c631d678eff712794792 (patch) | |
tree | bcc7dcafea7173426748996c7a2e5ee39d7f8a89 | |
parent | mostly irc stuff (diff) | |
download | scripts-e87f4b6c90a4608b7318c631d678eff712794792.tar.gz scripts-e87f4b6c90a4608b7318c631d678eff712794792.zip |
update
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | root/.bashrc | 14 | ||||
-rw-r--r-- | root/.vimrc | 73 | ||||
-rw-r--r-- | znc/znc.conf | 35 |
4 files changed, 123 insertions, 4 deletions
@@ -1,5 +1,2 @@ -# fedora - -My config files and some random lazy scripts.<br/> - +Configs and some random lazy scripts.<br/> diff --git a/root/.bashrc b/root/.bashrc new file mode 100644 index 0000000..ff70aa8 --- /dev/null +++ b/root/.bashrc @@ -0,0 +1,14 @@ +set -o vi +alias v="vim" +alias ls="ls --color=auto" +alias grep="grep --color=auto" +alias la="ls -a" +alias ll="ls -l" +alias lss="ls -sS" +alias ..="cd .." +alias ...="cd ../.." +alias ....="cd ../../.." +alias .....="cd ../../../.." +alias ......="cd ../../../../.." + +export PS1="\[$(tput bold)\]\[\033[38;5;9m\]\u\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;10m\]@\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;12m\]\h\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;170m\][\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;228m\]\w\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;211m\]]\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;171m\]\\$\[$(tput sgr0)\] " diff --git a/root/.vimrc b/root/.vimrc new file mode 100644 index 0000000..c0d8088 --- /dev/null +++ b/root/.vimrc @@ -0,0 +1,73 @@ +let mapleader = " " +syntax on +colo elflord +set nocompatible +set number +set relativenumber +set magic +set wildmenu +set list +set title +set showmatch +set hidden +set expandtab +set smarttab +set autoindent +set wildignorecase +set secure +set hlsearch +set incsearch +set ignorecase +set smartcase +set noerrorbells +set novisualbell +set backspace=indent,eol,start +set pastetoggle=<F11> +nnoremap <leader>nn :bn<CR> +nnoremap <leader>pp :bp<CR> +map <C-e> :q<cr> +nnoremap <F10> :vsp<cr> +nnoremap <S-F10> :sp<cr> +map <leader>w :w<CR> + +set laststatus=2 +function! InsertStatuslineColor(mode) + if a:mode == 'i' + hi statusline ctermfg=22 ctermbg=15 guibg=#005f00 guifg=#ffffff + elseif a:mode == 'r' + hi statusline ctermfg=52 ctermbg=15 guibg=#5f0000 guifg=#ffffff + else + hi statusline ctermfg=25 ctermbg=63 guibg=#005faf guifg=#5f5fff + endif +endfunction + +au InsertEnter * call InsertStatuslineColor(v:insertmode) +au InsertLeave * hi statusline ctermfg=24 ctermbg=15 guibg=#005f87 guifg=#ffffff +hi statusline ctermfg=24 ctermbg=15 guibg=#005f87 guifg=#ffffff +hi statuslineNC ctermfg=0 ctermbg=24 term=bold guifg=#000000 guibg=#005f87 +set statusline=[%f] "file name +set statusline+=[%{strlen(&fenc)?&fenc:'none'}, "file encoding +set statusline+=%{&ff}] "file format +set statusline+=%y "filetype +set statusline+=%h "help file flag +set statusline+=%m "modified flag +set statusline+=\ %= " align left +set statusline+=Line:%l/%L[%p%%] " line X of Y [percent of file] +set statusline+=\ Col:%c " current column +set statusline+=\ Buf:%n " Buffer number +set statusline+=\ [%b][0x%B]\ " ASCII and byte code under cursor + +set fillchars+=vert:\ " whitespace signifacant +hi VertSplit ctermbg=0 ctermfg=0 guibg=#000000 guifg=#000000 + +" highlight groups +hi def InterestingWord1 ctermfg=16 ctermbg=214 guifg=#000000 guibg=#ffaf00 +hi def InterestingWord2 ctermfg=16 ctermbg=154 guifg=#000000 guibg=#afff00 +hi def InterestingWord3 ctermfg=16 ctermbg=121 guifg=#000000 guibg=#87ffaf +hi def InterestingWord4 ctermfg=16 ctermbg=137 guifg=#000000 guibg=#af875f +hi def InterestingWord5 ctermfg=16 ctermbg=211 guifg=#000000 guibg=#ff87af +hi def InterestingWord6 ctermfg=16 ctermbg=195 guifg=#000000 guibg=#d7ffff +hi def InterestingWord7 ctermfg=16 ctermbg=99 guifg=#000000 guibg=#875fff +hi def InterestingWord8 ctermfg=16 ctermbg=35 guifg=#000000 guibg=#00af5f +hi def InterestingWord9 ctermfg=16 ctermbg=57 guifg=#000000 guibg=#5f00ff +hi def InterestingWord0 ctermfg=16 ctermbg=39 guifg=#000000 guibg=#00afff diff --git a/znc/znc.conf b/znc/znc.conf new file mode 100644 index 0000000..76abf3a --- /dev/null +++ b/znc/znc.conf @@ -0,0 +1,35 @@ +// WARNING +// +// Do NOT edit this file while ZNC is running! +// Use webadmin or *controlpanel instead. +// +// Altering this file by hand will forfeit all support. +// +// But if you feel risky, you might want to read help on /znc saveconfig and /znc rehash. +// Also check https://wiki.znc.in/Configuration + +Version = 1.7.5 +<Listener l> + Port = 1025 + IPv4 = true + IPv6 = false + SSL = true + AllowIRC = true + AllowWeb = false +</Listener> + +<User terminaldweller> + Pass = + Admin = true + Nick = terminaldweller + AltNick = terminaldweller_ + Ident = terminaldweller + RealName = johndoe + LoadModule = chansaver + LoadModule = controlpanel + + <Network Undernet> + LoadModule = simple_away + Server = irc.undernet.org 6667 + </Network> +</User> |