An open API service indexing awesome lists of open source software.

https://github.com/vitalk/dotfiles

A bunch of various configuration files and useful scripts.
https://github.com/vitalk/dotfiles

Last synced: 5 months ago
JSON representation

A bunch of various configuration files and useful scripts.

Awesome Lists containing this project

README

          

DOTFILES

A bunch of various configuration files and useful scripts. Includes my shell
environment, vim and tmux settings.

Detailed descriptions is coming soon.

OVERVIEW

This repository contains some useful bash scripts and handy aliases. The most
commonly used placed below with usage help.

+x [ ...]
set executable bit

dataurl
create a data url from image or font, supported ttf, otf, eof and woff font
types and common image types (png, gif, jpeg, tiff)

extract [ ...]
extract to current dir, supported tar, zip, rar archives.

git-thanks [..]
list authors of all commits on repos between and

ip []
returns current ip address or ip specified by interface

md
create a new directory and enter it

own [-u ] [ ...]
change owner to

prune-dirs
remove empty directories under and including

push-ssh-cert [-c ] [ ...]
push SSH public key to remote hosts

randstr [] []
generate random string with , if is not set include special chars like *&^, etc

require [ ...]
check exists required or not

serve
serve files in local dir

tarball [-q] [ ...]
create tar.gz archive from original but exclude all hidden files

upcoming
generate upcoming revision number from passed value

INSTALLATION

Clone the git repos wherever your want and run the bootstrap script. It will
pull in the latest changes and copy the files to your home directory.

git clone https://github.com/vitalk/dotfiles.git && cd dotfiles && ./install.sh

Auto completion will be available for all script options after script
installation. Run '--help' for details:

# this expand to ./install.sh --help
./install.sh --h[Tab]

CUSTOMIZATION

If you need to do some custom modifications, you does not need to fork the
entire repository, just clone it to your local machine and add some local
updates to it.

The local config is a file with the name as in repo and that ends with the
suffix `.local`. Local configs loaded after global, so you can overwrite the
original settings. For example, to add some local modifications to `.bashrc`
create file `.bashrc.local` and put your updates here, or to add some aliases to
your config add file `.bash/aliases.local` or ever `.bash/aliases/system.local`.
All thats files will be loaded to your enviroment.

For example my `.bashrc.local` set my git user details:

```bash
git config user.name "Vital Kudzelka"
git config user.email "vital.kudzelka@gmail.com"
```

THANKS TO…

Mathias Bynens and his amazing dotfiles (https://github.com/mathiasbynens/dotfiles)
Ryan Tomayko for mix of dotfiles and scripts (https://github.com/rtomayko/dotfiles)
Jan Moesen for his tilde repository (https://github.com/janmoesen/tilde)

Anyone missed? Get in touch!

COPYRIGHT

Copyright © 2012 Vital Kudzelka
The scripts shall be used for Good, not Evil.