Skip to content

Nimoi/NephScripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

These are misc scripts and configuration files I use on my machine. Not guaranteed to be portable but go nuts if you find anything useful. Copyright is not always well documented and I don't guarantee that any code without explicit copyright is not somehow copyright or patent encumbered.

Feel free to contact me if you want clearer copyright information on any particular bit.

Most ~/bin/ stuff should be path agnostic, but the bashrc assumes ~/bin exists. Various mozilla-related scripts assume ~/moz/ and ~/moz/moz-git/

Setup / symlinks for various things:

    # Scripts/bash
    ln -sv $repo/bin            ~/bin
    ln -sv $repo/bashrc         ~/.bashrc
    ln -sv $repo/bash_profile   ~/.bash_profile

    # zsh
    ln -sv "$repo"/zshrc ~/.zshrc
    ln -sv "$repo"/zsh.d ~/.zsh.d

    # ack
    ln -sv "$repo"/ackrc ~/.ackrc

    # Emacs (Make sure you submodule init && update)
    ln -sv $repo/emacs          ~/.emacs
    ln -sv $repo/emacs.d        ~/.emacs.d
    # Byte compile things and setup CEDET
    ( cd ~/.emacs.d && ./compile.sh )

    # Git
    ln -sv $repo/gitconfig      ~/.gitconfig
    ln -sv $repo/gitignore      ~/.gitignore

    # GDB
    ln -sv $repo/gdbinit ~/.gdbinit

    # Mercurial
    ln -sv $repo/hgrc           ~/.hgrc
    ln -sv $repo/hgignore       ~/.hgignore

    # Powerline (needs the PYTHONPATH and PATH additions in bashrc)
    ( cd "$repo" && ./build-powerline.sh )
    mkdir -v ~/.fonts.conf.d/
    mkdir -v ~/.fonts/
    ln -sv $repo/powerline.git/font/10-powerline-symbols.conf ~/.fonts.conf.d/
    ln -sv $repo/powerline.git/font/PowerlineSymbols.otf ~/.fonts/
    fc-cache -vf

    # ssh config (does not want this file symlinked/insecure)
    cp -v $repo/sshconfig ~/.ssh/config
    chown -v $USER ~/.ssh/config
    chmod -v 600 ~/.ssh/config

    # ls++ config
    mkdir -pv ~/ls++
    ln -sv $repo/ls++.conf ~/ls++/

Various mozilla things assume:

Contact

About

Random personal scripts/bashrc/etc files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 48.2%
  • Shell 44.9%
  • Python 4.4%
  • Perl 1.4%
  • NASL 0.4%
  • C++ 0.4%
  • Other 0.3%