Skip to main content

Questions tagged [dotfiles]

The tag has no usage guidance.

2 votes
0 answers
93 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 ...
Silas's user avatar
  • 39
0 votes
1 answer
109 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 ...
Benyamin's user avatar
  • 101
1 vote
0 answers
208 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 ...
Petr's user avatar
  • 3,173
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 ...
Lanny's user avatar
  • 33
1 vote
0 answers
78 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 ...
Senkel's user avatar
  • 11
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). ...
Raymond Schweers's user avatar
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. ...
Adam's user avatar
  • 161
1 vote
2 answers
955 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 ....
baggiponte's user avatar
0 votes
0 answers
42 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
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 ...
BaRud's user avatar
  • 131
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 / ...
jodobear's user avatar
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 ...
dirdi's user avatar
  • 3,275
2 votes
1 answer
8k 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 ...
algalg's user avatar
  • 133
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 ...
Kalle Richter'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

15 30 50 per page
1
2 3 4 5