Questions tagged [dotfiles]
70 questions
91
votes
5 answers
Windows Unable to Delete ._. File
I currently have a file on the root of my external hard drive simply named ._., which I am guessing was added to my hard drive after using it on my MacBook a while ago. I'm trying to delete this file on my Windows 10 machine; however Windows keeps…
MrMike
- 1,421
- 11
- 19
67
votes
9 answers
How can I make "ls" show dotfiles first?
Somewhere along the way I screwed up my ls command and now I get this ordering when running
$ ls -AhHl --color=auto
-rwxr-xr-x 1 clang clang 640 Mar 1 02:46 apple-touch-icon-precomposed.png
-rwxr-xr-x 1 clang clang 784 Jul 12 02:54…
clang1234
- 897
29
votes
3 answers
Hide dotfiles in Windows
Is there a way to have Windows automatically hide any file that is dot prefixed (e.g. ".svn"), as it's done in Linux?
mgbowen
- 393
- 1
- 3
- 5
10
votes
4 answers
Strategy to maintain dotfiles for different OSs (i.e. osx and ubuntu)
I use a Git repository to maintain my dotfiles (vimrc, zshrc, tmux.conf, etc.). As I've two different operating systems (OSX at home and Ubuntu at work) I've dedicated a branch for each system. This results in different versions of dotfiles as OSs…
don ali
- 103
10
votes
2 answers
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 tweak to make bash exclude . and .. from the expansion…
David Z
- 6,785
8
votes
2 answers
Source other configuration file in gpg.conf
Is there any way to source a secondary configuration file inside the usual gpg.conf?
I'd like to share a set of common configuration options across different workstations but I also need several local customizations.
languitar
- 211
8
votes
1 answer
change mutt indicator color when hovering a new message
I want to change the color of the text when hovering a new message in mutts index.
Right now I have
color indicator color111 color236 #indicator line
and
color index color082 color237 ~N # new message color
How can I set a color for the new…
winchendonsprings
- 2,148
7
votes
2 answers
What is the difference between .zshrc and .zshrc-e
I've recently switched to using zsh instead of bash and I installed both zsh and oh-my-zsh. while messing with my configuration I noticed that there is a file named ".zshrc-e" in addition to the typical ".zshrc". What's the difference and what is…
davey555
- 173
6
votes
0 answers
GNU stow. Only symlink files, not directories
I'd like to manage my dotfiles with a Git repository and stow. Here is my current repository that includes the files/directories I'd like to stow and a Makefile with the command I'm using make stow.
Unfortunately, I have run into an issue when stow…
Adam
- 161
6
votes
1 answer
zsh - differentiate between source ~/.zshrc and shell initially reading .zshrc
Is there a command or environment variable that I can test for in my ~/.zshrc that that would differentiate between when I run source ~/.zshrc to update my configuration and when the shell reads ~/.zshrc as it's initialized?
So far my solution is to…
erwin
- 194
5
votes
1 answer
How to store confidential info whilst using dot files framework
I'm trying to come up with a strategy to store my dotfiles in Git. So far, I've create a dotfiles repo on GitHub and I've thrown together an install script which simply clones the repo, then symlinks each of the files into my ~ directory.
However…
JoeNyland
- 306
5
votes
1 answer
How to increase the font size of the command line in vimperator / pentadactyl?
What to I insert into my .vimperatorrc to make the font size of the command line bigger?
The Unfun Cat
- 261
- 2
- 14
5
votes
1 answer
BitTorrent Sync - Exclude All Specific Subfolders
I want to sync up my dev folder including various project folders, each having node_modules folder inside. I would like to exclude all node_modules subfolders.
Here is an example of my file structure:
.
├── projectOne
│ ├── index.app
│ ├──…
Pavel Binar
- 355
5
votes
1 answer
How can have Mutt scroll inbox line by line rather than page by page?
Is there a setting for .muttrc that I cannot find that will enable this? I'm sure this ssort of thing goes against mutt purists but I bet it can be done.
Bonus question: How can I enlarge the space(inbox) at the top of mutt's message preview mode…
winchendonsprings
- 2,148
5
votes
2 answers
Is a single dot a valid filename in Windows?
A dot (.) can be part of a file or directory name including the first and last position. On UNIX a single dot in a path refers to the current directory and can thus always be resolved to a directory whose name is not ..
Is there some way that I can…
Kalle Richter
- 2,472
- 6
- 44
- 64