Questions tagged [dotfiles]

A dot-file is generally any file whose name begins with a full stop. In Unix-like operating systems, dot-file is synonymous with hidden file.

205 questions
-1
votes
1 answer

Bash script - make all files in Directory hidden

I'm using the following script to make all files in a directory hidden by adding a dot "." at the beginning. GLOBIGNORE=".:.." for file in *; do mv -n "$file" ".$file"; done How can I exclude the already hidden files? Thanks for your help!
Dimitris
  • 1
  • 4
-1
votes
1 answer

Wrapping quotes around dotfolders in home directory breaks bash commands

Wrapping quotes around dotfolders in the home folder breaks all shell commands, e.g.: [jeff@mypc 0]$ [jeff@mypc 0]$ ls "~/.cache/" ls: cannot access ~/.cache/: No such file or directory [jeff@mypc 0]$ ls…
Jeff Irwin
  • 1,041
  • 8
  • 12
-1
votes
1 answer

Emacs/Spacemacs: additional packages installed do not load unless dotfile synced with M-m f e R

I'm a new Emacs/Spacemacs user, and I've gotten to understand the basics of the underpinnings. However, I'm puzzled by a behavior: On the dotfile, under dotspacemacs-additional-packages, I added a few extra packages, namely minimap (Sublime-like…
dennismayr
  • 21
  • 1
  • 4
-1
votes
1 answer

I ran a script to set up dotfiles and can't undo it

I ran this script to set up some dotfiles managment: #!/bin/bash ############################ # .make.sh # This script creates symlinks from the home directory to any desired dotfiles in ~/dotfiles ############################ ##########…
CafeHey
  • 5,699
  • 19
  • 82
  • 145
-1
votes
1 answer

Syncing dot files with dropbox

I puts all my dotfiles in $HOME/Dropbox/dotfiles and make a hard link(I think it's the way to go, and for instance vim does't load soft link rc file) ln $HOME/Dropbox/dotfiles/.vimrc $HOME/.vimrc The problem is as long as I make change to the file…
mko
  • 21,334
  • 49
  • 130
  • 191
-2
votes
0 answers

Is there a way to track and auto deploy .*rc files?

I currently use symoblic links to connect files from repository folder on my computer to the dotfiles on my local computer. I run a script to update/create all the dotfiles via powershell or zsh depending on the OS.
abgup
  • 42
  • 6
-2
votes
1 answer

Command to change the value of "Use the Caps Lock key to switch to and from U.S."

I'm currently developing my own macOS dotfiles. I wasn't able to find a command that I can use to change the value of "Use the Caps Lock key to switch to and from U.S." I was trying to find it by using the defaults command. I need a command to turn…
danulqua
  • 19
  • 3
-2
votes
1 answer

c++ can't seem to filter out the dot files in my recursive directory listing program

I've written a program to mimic linux's ls and its options: -a: include dot files -d: show only this directory -l: show long form -h: prints utilities All the options seem to work fine so far, however, by default when doing something like: ./a.out…
Viktor
  • 21
  • 5
-2
votes
1 answer

What is the difference between the Ubuntu ~ directory and / directory?

I'm new to Ubuntu and trying to understand the differences between these two directories. I need to know where node packages, git projects, and dotfiles can be installed to avoid future problems. Does anybody have a quick layman's answer? I…
Shawesome
  • 55
  • 11
-3
votes
1 answer

Tools to manage a portable workstation configuration

I have 3 computers I work on regularly - a work laptop, personal laptop and home PC. I also have .rc files for vim, bash, zsh, git, hg etc that I need to maintain across the 3 physical computers. Currently I am using a publicly hosted hg repository…
too much php
  • 88,666
  • 34
  • 128
  • 138
1 2 3
13
14