brandonpollack23 / rcfiles

my configuration for unix like enviornments (bsd wont work until i make it)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Initialize system prefs

What do

git clone --recursive https://github.com/brandonpollack23/rcfiles
./install

Bonus for administrators

If you want every user account created to default use these settings/configs/etc you can run

install_skel

which copies the configs as is to skel and

update_root_prefs

which copies the current user's prefs over

Anything else?

It turns on modcgi in apache so you can go to: man2html info2www for pretty docs

What does it do

  • dependencies
  • symbolic linking of configs
  • vim
  • tmux
  • zsh
  • systemd user stuff (like timers)

About systemd directory

Sorry if you dont have systemd, manually disable that part of the script I guess, but I like systemd so i doubt it'll be an issue for me the files are templated to be replaced with $USER by sed in the install script. delims are !USER! There is a way to make this more generic with awk, but its greek to me, see here

How to add vim plugins

cd .vim/pack/brpol/start
git submodule add $PLUGIN

How to add zsh plugins

If it isn't already oh-my-zh

cd zsh-plugins
git submodule add $PLUGIN
echo "source $PWD/$PLUGIN_PATH_TO_DOT_ZSH_FILE" > ${ZDOTDIR:-$HOME}/.zshrc

Bonus Utilities You May Want

Printing

man cups (localhost:631)

Applications

  • Network/DNS/Internet utils
    • Debian: dnsutils -- dig/nslookup
    • Redhat: bind-utils -- dig/nslookup
    • traceroute -- find traceroute lol
    • nmap -- good enough for trinity!
      • nmap -sP 192.168.1.0/24 -- scan everything on network
      • nmap -sS -sU -T5 -A -v 192.168.1.0/24 -- find local network hostnames
  • pandoc -- convert markdown to pdf/html and a bunch of other formats
    • texlive -- pdflatex comes with this and is required for the above
    • texlive-plain-generic -- more of the above
    • Fonts of interest: tug.org/FontCatalogue/
      • Inconsolata mono
      • Arev
    • Example command: pandoc markdown_test.md -t latex -V mainfont=arev -V monofont=inconsolata -o markdown_test.pdf
  • netselect-apt -- find out the "best" mirror and auto switch!

About

my configuration for unix like enviornments (bsd wont work until i make it)


Languages

Language:Lua 48.3%Language:Emacs Lisp 24.1%Language:Shell 18.3%Language:Vim Script 8.0%Language:Ruby 1.3%