Skip to main content

All Questions

Tagged with
0 votes
0 answers
43 views

Symlink one directory, its contents and file structure to target directory, with automatic updates

Asked something similar a while ago in Unix&Linux but got yelled at, so will try again... Let me take a directory called DIR with the structure DIR/ |----> file1.txt |----> file2.txt |----&...
nonreligious's user avatar
0 votes
1 answer
220 views

bash automatically executing a tool-specific configuration file on login

My project uses an internal tool on Linux, that uses a file called .spacerc for configuring some environmental variables. The strange thing is, whenever I start a (non-login interactive) bash shell - ...
Yaron Shragai's user avatar
2 votes
2 answers
2k views

How to backup current dotfiles?

I just purchased a mac and installed dotfiles from an external source, which screwed up my terminal settings. Luckily I had made a backup of my system with time machine so I simply reinstalled the ...
Lauraponi's user avatar
  • 121
2 votes
1 answer
87 views

Dotfile version control: terminal settings

I use one MacBook at home and another at work. Recently I started version controlling my dotfiles. It works like a dream for my vim/MacVim settings, but is decidedly less useful for my .bashrc and ....
yoshw's user avatar
  • 23
10 votes
2 answers
2k views

Can I keep . and .. out of .* expansion?

I often find it annoying (or worse) when I type command .* in bash and the command applies to the parent directory and current directory. Is there some shell option or other configuration I can ...
David Z's user avatar
  • 6,765
4 votes
2 answers
347 views

shell dotfiles and *rcs: what's a sane setup?

A bash user will eventually end up with .bashrc, .bash_profile, .profile, and maybe some more. Now, each file gets loaded unders particular situations, and it all leads to confusion and frustration. ...
kch's user avatar
  • 2,232