Linking dotfiles to another location
See original GitHub issueI understand that from the config usually you link to ~, and you can change this to another folder outside of home even.
I am setting up my dotfiles on a new drive (I’m replacing it), so while the new drive will be home later, right now it will be mounted somewhere else.
I am going to clone the dotfiles to that new drive, but if I run the script it will link to home.
How would I be able to link to the mounted drive? Would HOME=/mnt/home ./install
be enough so the command thinks the mounted drive is the home?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Dotfiles – What is a Dotfile and How to Create it in Mac and ...
By default, most hidden confuguration files are located there. The second argument is the path where you want to move the file to....
Read more >How to Create a Dotfiles Folder - YouTube
... you how you can create a dotfiles folder and move important configuration files there. We'll also learn how to set up symbolic...
Read more >rhysd/dotfiles: dotfiles symbolic links management CLI - GitHub
Change current directory to the directory you want to put a dotfiles repository. Clone your dotfiles repository with $ dotfiles clone . Enter...
Read more >Using GNU Stow to Manage Symbolic Links for Your Dotfiles
Let's say we've got our configuration files stored in a directory under the home directory called .dotfiles . We can easily create symbolic...
Read more >Keeping dotfiles in sync for different folders
I am using Dropbox for storing my dotfiles from which I create soft links to my home directory. For configuration files which I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Your shell expands $HOME based on its environment variables; if you do, e.g.
HOME=/mnt/new_home/brott $SHELL
and then run those commands in the shell you just launched, it’ll work as you expect.After all, I ended up removing all the links manually. Then I started my computer with the new home drive, ran the script. Then rebooted so make sure everything was in order