Skip to content

Just a bunch of .dotfiles and a lazy man's install script

License

Notifications You must be signed in to change notification settings

idleyoungman/dotfiles-old

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just a bunch of .dotfiles

dotey - a little dotfiles helper

Forked from ftf dotfiles Inspired by holmans dotfiles Rakefile. Since some moron systems don't ship with ruby I wanted to use a pure shell script based installation.

dotey options

How to use this:

./dotey install 
  Symlink dotfiles to the home directory

./dotey uninstall
  Remove all dotfile symlinks from home directory and restore from backup if possible
  
./dotey update
  Fetch updates from the repository and update symlinks if needed

./dotey link
  Update symlinks if needed

./dotey privatedots install
  Decrypt and unpack your private dotfiles and install them at this computer

./dotey privatedots link
  Link newly added private dotfiles to your home directory

./dotey privatedots pack
  Encrypt and pack your private dotfiles to transfer them to another box

./dotey privatedots delete
  Delete your private dotfiles from this computer

./dotey vimupdate
  Initialize or update the janus vim distribution (also update or
  install new vim plugins inside .janus.symlink)

Installation:

  • Open a fresh shell/Terminal session
  • git clone git://github.com/idleyoungman/dotfiles .dotfiles
  • or if the system has no git installed, grab the zip file
  • -> wget https://github.com/idleyoungman/dotfiles/zipball/master && unzip master -d .dotfiles && rm master
  • cd .dotfiles
  • ./dotey install

Post installation

  • to use the janus vim distribution run: ./dotey vimupdate
  • get the lolcat gem for color awesomeness

Will the script kill my current configuration files?

If you want, yes.

Or you can skip to the next file without replacing it or you can choose to move your file to .dotfiles/backup.

Custom ZSH files

Store them at .dotfiles/privatedots/zsh/ as somefile.zsh. Git will ignore them, so you won't share any sensitive information if you fork this repo.

Custom BASH files

As above, store them at .dotfiles/privatedots/bash as somefile.bash

Custom .dotfiles

Just put them in .dotfiles and name them something.symlink to get them linked to your home directory, to do this run
./dotey link.

Example: ~/.dotfiles/.someth.ing.symlink will be linked to ~/.someth.ing

How to link newly added .dotfiles?

Just run ./dotey link

Private Dotfiles

What to do with the dotfiles that should not end up on GitHub?

Put them in .dotfiles/privatedots. When they should be linked to your home directory add as before .symlink to the filename.

To link newly added private dotfiles use ./dotey privatedots link

The privatedots directory will be compressed with tar/bzip2 and afterwards encrypted with openssl/des.

Transfer private dotfiles between machines

  • Run ./dotey privatedots pack and enter a password when prompted
  • Copy the privdots.des3 file to anothers box .dotfile directory by ftp/sftp/scp/rsync whatever
  • At the other machine run ./dotey privatedots install

I don't want my private dotfiles on a machine anymore

Just run ./dotey privatedots delete and they are gone

Why private dotfiles after all, should I not share all my dotfiles?

While this thought should be appreciated, you probably don't want to share your ftp or irssi passwords with everyone out there.

Submodules

Add VIM plugins

In your .dotfiles directory execute:

git submodule add -f https://github..... janus.symlink/pluginname

and then run ./dotey vimupdate

dotey is a stupid name

Go fork the repo and come up with something better.

The same applies if you don't like my config files ;)

About

Just a bunch of .dotfiles and a lazy man's install script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 91.3%
  • Python 8.7%