Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

Homedir Stow

This is a repository which can be used with stow to re-create (parts of) my HOME How does it work?

1. Clone this repo

You should clone this repo in your home directory. You can rename it to be hidden (add a .) or rename it to whatever you like.

2.1 Manually

You can do this manually (not a good idea)

ln -s {/path/to/the/file} {/path/for/the/link}

2.2 Stow

You should let GNU stow do the hard work.

2.2.1 Install Stow

2.2.1.1 On Mac OSX

Use Homebrew

brew install stow
2.2.1.2 On Debian based GNU/Linux

Use apt

apt-get install stow
2.2.1.3 On RedHat based GNU/Linux

Use yum

yum install stow

2.2.2 Use stow

2.2.2.1 Navigate to the dotfiles repository
cd dotfiles
2.2.2.2 Stow the package
stow {package}
2.2.2.3 Unstow a package
stow --delete {package}
2.2.2.4 Show what would happen
stow --no --verbose {package}

3. Profit

Profit!

Recent activity

turanct

turanct pushed 2 commits to turanct/Dotfiles

59d65ff - Merge branch 'sumocoders' of bitbucket.org:turanct/dotfiles into sumocoders
eed9ef4 - Merge branch 'master' into sumocoders
turanct

turanct pushed 4 commits to turanct/Dotfiles

de7e451 - Merge branch 'sumocoders' of bitbucket.org:turanct/dotfiles into sumocoders
948a46e - Add wrc ssh config
3cf2d01 - Merge branch 'master' into sumocoders
0ec8919 - Merge branch 'master' into sumocoders
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.