Questions tagged [dotfiles]
The dotfiles tag has no usage guidance.
68
questions
2
votes
0
answers
101
views
Why is `~/.zlogout` not sourced when non-interactive ZSH shell runs `exit`?
My ~/.zlogout contains the following:
echo '~/.zlogout!'
Let's run the following script:
su user -ls /bin/zsh -c 'echo kaasbier; exit'
Nothing is echoed (besides the kaasbier). I am testing this in ...
0
votes
1
answer
113
views
Dot - Making large, almost arbitrary graph with labeled edges more readable
I have a (currently in-progress) directed graph that I am creating with Dot. The attached image is what I have so far. As you can see, it is hard to read because it is difficult to tell what labels ...
1
vote
0
answers
214
views
How to `zcompile` global (system-wide) zsh scripts?
For my local dotfiles I have this snippet at the end of my .zshrc:
for f in ~/.zshrc ~/.zshenv ; do
[ "${f}"(:A) -ot "$f".zwc ] || zcompile "$f"
done
This ensures ...
3
votes
1
answer
3k
views
how to move ssh-key related files to another directory?
i've been trying to clean up my root directory so that it isn't clustered with random dotfiles. nonetheless, on setting up the ssh-key i came to a dead-end, where i wouldn't find a way to migrate ...
1
vote
0
answers
79
views
What means "bind c screen" in .screenrc config?
I only want to understand what the lines in this .screenrc config does:
bind c screen 1
bind ^c screen 1
bind 0 select 10
screen 1
I found the config here:
https://wiki.archlinux.org/
Through this my ...
1
vote
1
answer
2k
views
How do I install Chrome shortcut app via the command line?
As a Ubuntu user who has his own dotfiles I would like to install windowed Chrome (shortcut) apps via my dotfiles. So if I do a fresh install I also have setup my Chrome shortcut apps (like outlook).
...
6
votes
0
answers
3k
views
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.
...
1
vote
2
answers
963
views
How do I move all of my dotfiles to a custom directory?
I'm a Mac user and I was wondering if there was a way to put all of my dotfiles to a .config folder to store all of them (something analogue to XDG Directories on Linux).
I was trying to set up a ....
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
|----&...
2
votes
1
answer
1k
views
gnu stow to ignore dirs
I am relatively new in stow (using for last 6 months). While this is working fine for backing up my config files, it is actually storing unwanted files, and not obeying my .stow-local-ignore.
I am ...
1
vote
1
answer
2k
views
Copy single dotfile from a folder to another on local machine
Before you downvote, I have read the following solutions:
How do I copy file named starting with a dot?
How to copy with cp to include hidden files and hidden directories and their contents?
Linux / ...
2
votes
1
answer
156
views
What is ranger's show_hidden_bookmarks setting good for?
Ranger's man page states:
show_hidden_bookmarks [bool]
Show dotfiles in the bookmark preview window? (Type ')
I played around with it but can not figure out what it actually does. My bookmark ...
2
votes
1
answer
9k
views
Exclude hidden folders using rsync, but Include specific hidden folders and include all hidden files
There are a lot of posts about rsync exclude being particular, I know, and I've spent some time digging myself for a solution, but thought it more expedient to defer to community mind power, which I'm ...
5
votes
2
answers
8k
views
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 ...
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 - ...
0
votes
1
answer
3k
views
Dotfiles - how to create a dotfile for Visual Studio Code that builds on the current configuration
I recently came across the idea of Dotfiles and it is very appealing. But most tutorials / articles explain Dotfiles and then present their own dotfiles.
I would like to capture the settings of my ...
0
votes
1
answer
44
views
Find duplicate settings in dotfiles
I have copied some dotfiles settings, mostly from github, into my own dotfiles. Now I have the problem that some settings are duplicated and have same or different values. E.g. in Xresources:
...
1
vote
1
answer
306
views
Hide dot files using ftp with Windows Explorer (Linux backend)
The company who I used to host my websites with has just been sold to another (site5.com), and my websites have been migrated.
With the original company, if one was to view a remote directory using ...
2
votes
1
answer
286
views
How to reset Windows subsystem for linux bash after modifying it with dotfiles?
I installed 'dotfile' on my windows 'ubuntu' terminal
Now I am not able to work with normal commands like 'git'.
Want to know how to reset my bash file to regain the original terminal.
1
vote
1
answer
266
views
netrw keeps hidding dotfiles while FTP connection in VIM
I have to show the hidden files and directories (files and directories beginning with .) in netrw through FTP.
In a local environment, I can toggle hidden items with gh but through the FTP ...
1
vote
1
answer
515
views
The way to indicate that new messages are present (mutt)
So the basic problem I want to discuss, is there a way to indicate that new messages were got into the mail box?
What I mean, currently I have about ~8 separate folders managed by sieve, I do not ...
2
votes
1
answer
345
views
Managing multiple subsets of dotfiles
I'm using git to store my dotfiles, but now that I've started using multiple implementations of Linux, I'm finding that my dotfiles between flavors diverge a bit, depending on what I'm using that ...
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 ...
6
votes
1
answer
2k
views
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 ~/....
1
vote
0
answers
98
views
Problems in customizing the macOS menu bar with MenuSystemUIServer
In my menu bar, I'd like to hide TimeMachine, Volume, Battery, User, Clock and show just Bluetooth, and Airport.
I tried to customize it with an sh script:
for domain in ~/Library/Preferences/ByHost/...
2
votes
2
answers
333
views
How to Keep Dot-Files up to date?
I've got two computers, one at work and one at home. The work one has a VM running Arch, and the home one runs Arch natively. The work one usually stays at work, but push a lot of stuff back and ...
1
vote
2
answers
1k
views
How to start xpdf(1) without the outline pane?
I am trying to configure xpdf(1) so that it doesn't show the outline pane by default.
I've managed to set up a keybinding in my ~/.xpdfrc to toggle the visibility of the outline pane with this ...
4
votes
0
answers
8k
views
Hiding files starting with a dot?
In my C:\Users\Me directory, I see a lot of files starting with a dot and they are not hidden files. I can see them even though I unchecked "show hidden files" box in folder options.
I see some ...
1
vote
1
answer
2k
views
Get the ip address from ifconfig
I was updating my shell dot file, and I thought that it would be nice to have an alias that show just my ip.
I usually connect with wifi, which is on wlan0 and it's the last "block" of devices.
So I'...
91
votes
5
answers
9k
views
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 ...
8
votes
2
answers
6k
views
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 ...
1
vote
0
answers
99
views
Vundle directory automatically copied to dotfiles directory with weird permissions
I just installed mathiasbynens dotfiles (only the bootstrap scripts, not os x default, not that it matters). The bootstrap script copies all the files to ~ folder (not symlink, copy). Anyways, I have ...
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 ....
5
votes
1
answer
821
views
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 ...
0
votes
2
answers
47
views
How can I transfer DotFolders from my Note 3 to my Windows computer?
Okay so I made a hidden folder(Period before it) on my phone with very important photos/videos. Now my Note 3s screen cracked and so is it back light..
I have my phone hooked up (usb) to my computer(...
1
vote
1
answer
387
views
How to add files to dotfile-castle with homesick?
So I've setup my dotfiles repo on github and installed homesick to manage my dotfiles. So now I happend to have a clone of the repo on my local machine but also a cloned CASTLE (~/.homesick/repo/...
0
votes
0
answers
354
views
.dotfiles gitignore not ignoring vim/tmp folder
tmp=.dotfiles/vim/tmp.GITIGNORE=.dotfiles/.gitignore.
I have created a gitignore for vim/tmp inside my .dotfiles but they are not being ignored. My temp folder contains /backup/swap/undo/ and every ...
0
votes
1
answer
165
views
alternate osx default keyboard after reboot?
Is there a way to set Colemak as my default keyboard on startup? Can this be done in shell using "defaults write"? I'd like to include it in my setup script.
I did enable "Show input menu in login ...
4
votes
1
answer
336
views
What does this zsh for syntax mean?
I working on source controlling my dotfiles and a lof of what I'm doing is based off of Zach Holman's dotfiles. I want to source all zsh files like he does in his files but before I just throw the ...
0
votes
1
answer
251
views
BitTorrent Sync - Exclude All except
I'd like to exclude all content except some specific folders and files...
for example
*
!somefolder #except this folder
how can I do this with .SyncIgnore?
1
vote
1
answer
502
views
Hide vim’s backups with a dot in the begining of the backup file name
I have the following line on my ~/.vimrc
set backup
So, every time I edit a file foo with vim, a backup file foo~ is created. Then the output of ls is polluted.
I want vim to make the backup’s name ...
7
votes
2
answers
3k
views
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 ...
5
votes
1
answer
2k
views
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?
1
vote
1
answer
94
views
How can I put my skype notification settings in a public git repo
I maintain key configuration files in a public git repo - I'd like to put my skype configuration in it too, because I find the default configuration way too noisy.
The newer version has started ...
0
votes
1
answer
56
views
Re-enable Sudden Motion Sensor
I installed Mathias Bynens dotfiles which are very handy but when I check his code it says
# Disable the sudden motion sensor as it’s not useful for SSDs
sudo pmset -a sms 0
I don't have an SSD and ...
5
votes
1
answer
5k
views
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:...
10
votes
4
answers
3k
views
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 ...
0
votes
2
answers
2k
views
Hide files in unix without changing their name (adding the dot) so that scripts that use them still work [duplicate]
Short version: I want to be able to prevent certain files from appearing in the output of ls, without adding the dot, and thus changing their names.
Long version: Recently, I moved a bunch of scripts ...
1
vote
2
answers
482
views
Any way to wipe out everything I have installed via Command Line?
So I have borked my system.
Running OS X 10.8.3, I have installed a mess of stuff; Ruby, RVM, Git, Node, Brew etc... As well as playing with dotfiles (http://dotfiles.github.io/) Which I really ...
1
vote
2
answers
404
views
Can gnu screen prompt for a title when a new window is created?
There are a number of questions about automatically naming screen windows based on what's running in them.
But sometimes why you created the window is more important than what you're doing in it.
...