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
0
votes
1 answer

How to Stop Forced Module Namespace in Elixir Phoenix iex Console?

When using the iex console from my Phoenix application, as follows: iex -S mix phx.server I cant seem to call System functions, such as System.stop(1) or System.halt(1) as it forces a namespace to the front of the module. An error results as that…
Todd
  • 2,824
  • 2
  • 29
  • 39
0
votes
1 answer

Symlink dotfiles with a script

As many others have done, I want to create a repo to store my dotfile customizations. Instead of doing ln -s manually, I am using the following script to set things up. #!/bin/bash set…
Chris
  • 547
  • 6
  • 20
0
votes
1 answer

shell script error: bootstrap.sh:13: = not found

I forked https://github.com/mathiasbynens/dotfiles dotfiles and tried to run bootstrap.sh which apparently should "pull in the latest version and copy the files to your home folder", according to the README.md But when I try to source the…
Bossam
  • 744
  • 2
  • 9
  • 24
0
votes
2 answers

PHP DirectoryIterator and .DS_Store File

I have a local XAMP install on my Mac. I have this code: foreach (new DirectoryIterator('test') as $fileInfo) { if ($fileInfo->isDot() && $fileInfo->getBasename() !== '.DS_Store') { continue; } $xmlFile = "test/" .…
DragonStyle
  • 145
  • 11
0
votes
0 answers

apache 2.4 dotfiles redirectmatch

I have Apache 2.4 and tried to redirect dotfolders/dotfiles to 404, but it didn't work. I have cpanel and need to do this setting globally not in .htaccess. I added: RedirectMatch 404 /\\..*(/.*|$) Order…
ka99
  • 1
  • 1
0
votes
3 answers

Can't add git submodule when worktree is a parent directory

I’m keeping track of my dotfiles with a git repository under $HOME/.dotfiles which is configured to track files in $HOME (I used git config core.worktree "../../"). This method works fine as long as regular files are concerned, but it fails when I…
Arcturus B
  • 5,181
  • 4
  • 31
  • 51
0
votes
1 answer

Ansible install .dotfiles through Mathias installer

I am attempting to install the following files (mathiasbynens dotfiles) on a remote server using ansible. Here is the roles/dotfiles/tasks/main.yml file contents: --- - name: Flag if dotfiles directory exists stat: path=/home/path/dotfiles …
klye_g
  • 1,242
  • 6
  • 31
  • 54
0
votes
1 answer

Why npm is creating a folder called '~' in my home directory?

I have this "issue", since a couple days. I've noticed that I have a folder named '~' in my home directory and don't know how to tell npm to stop doing that. I don't even use npm that much. This is in my home directory: Then inside that folder…
pazitos10
  • 1,641
  • 16
  • 25
0
votes
1 answer

Where to store a node_package specific settings on the client machine?

I' have a node_package bookiza (installed globally) that POSTS/PATCHes values to a receiving substrate using credentials taken off a .rc file. I'm currently saving the .rc file inside the module itself, at usr/lib/node_modules/bookiza, but I can do…
Marvin Danig
  • 3,738
  • 6
  • 39
  • 71
0
votes
1 answer

Emacs24 - Case insensitive auto-complete M-x load-file

What setting has to be set in Emacs24 to make the load-file command to be case insensitive?
Filip Allberg
  • 3,941
  • 3
  • 20
  • 37
0
votes
1 answer

How to source a file via shell script

I wrote a shell script where I copy my .bashrc file as well as custom dotfiles to a backup folder and then replace them in my home folder with another .bashrc file which will then source my custom dotfiles. However, after the script does its job, if…
LuisF
  • 564
  • 1
  • 7
  • 18
0
votes
1 answer

How do I reset the terminal prompt?

When I power up the terminal it reads: username at 34 in ~ Im not sure what the 34 refers to. Is there a way I can figure out what's going on? I had previously cloned a dotfile.
lenignes
  • 333
  • 1
  • 5
  • 17
0
votes
1 answer

Limit recursivity of a git repository

I have created a git repository on my home directory (/home/user/.git) to "backup" and save alle changes from my dotfiles. To solve this I have implmeneted a gitignore where I explicit ignore all files excepting the wanted dotfiles. But know I can…
xyNNN
  • 492
  • 3
  • 21
0
votes
1 answer

Bash-Completion is broken after installation of Dotfiles

I've installed this dotfiles-repo on a newly installed OSX Yosemite Machine. I also ran its Scripts ~/.osx and brew.sh after installing homebrew. Everything works as expected, but not in the terminal. After reboot each terminal starts with lots of…
itinance
  • 11,711
  • 7
  • 58
  • 98
0
votes
1 answer

How to fix bad pattern issue in bash_profile?

I'm getting a bad pattern output in my terminal: ➜ ~ source .bash_profile load_dotfiles:1: bad pattern: files=(\n /Users/xeLL/.rvm/scripts/rvm # Load RVM into a shell session *as a function*\n …
xeLL
  • 487
  • 2
  • 9
  • 24