Questions tagged [dotfiles]

9 questions
141
votes
39 answers

What useful things can one add to one's .bashrc?

Is there anything that you can't live without and will make my life SO much easier? Here are some that I use ('diskspace' & 'folders' are particularly handy). # some more ls aliases alias ll='ls -alh' alias la='ls -A' alias l='ls -CFlh' alias…
Gareth
  • 8,413
  • 13
  • 43
  • 44
54
votes
12 answers

What are useful .screenrc settings?

Basically like some of my own that I've posted below. I'm looking for added functionality to the programme 'screen'. At the very least have a look at the last line for a fantastic 'menu bar' at the bottom of a screen session. ## gyaresu's .screenrc…
Gareth
  • 8,413
  • 13
  • 43
  • 44
21
votes
10 answers

Suggestions for entries in a sysadmins .vimrc

At the very least I always uncomment "syntax on" in /etc/vim/vimrc
Gareth
  • 8,413
  • 13
  • 43
  • 44
7
votes
3 answers

How do I set $TERM permanently in fish shell?

I use the fish shell. I'm trying to run vim inside tmux with the solarized theme, but the colors are broken unless I run: set -lx TERM screen-256color-bce; before running tmux attach. It's annoying having to run this every day, so I want to set the…
sjy
  • 207
  • 2
  • 8
3
votes
2 answers

Use local dotfiles on remote session

I have a few servers that I have personal accounts on, I have created an SVN repository to contain my home directory so that I can manage my dotfiles across these servers, which I'm finding works very well and makes it easy for me to track the…
richo
  • 938
  • 1
  • 7
  • 16
1
vote
4 answers

Is ._ (dot underscore) from Mac OS X?

I'm cleaning up some files that have been handled by Mac OS X. This is also the destination for FTP transfers. I know about .DS_Store files. However I'm seeing some ._XXXX files, ie. files that are prefixed with a dot and an underscore. Is that some…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
1
vote
2 answers

What is the best way to apply your old settings / environment to new server

Let's say you have your favorite settings with zsh, vim, screen, etc., behaving the way you want on some boxes. What is the best way to apply these settings / environments to a new server? Assuming all the necessary software is installed on the same…
Lamnk
  • 1,075
  • 3
  • 11
  • 17
0
votes
2 answers

Getting the executed source from bash

Okay, this is a last attempt to see if I can salvage something I accidentally did. I accidentally did "command > ~/.profile" instead of "command >> ~/.profile" on my computer. I didn't have it version controlled (never happening again), and since…
0
votes
1 answer

Manage dotfiles/configuration and ~/bin/-scripts for sets of servers

I have a few git repositories containing my config files and scripts that I use. Of course I don't use all scripts on all machines that I have access to, e.g. no music related scripts and configs on computers that I access at my company. Since I…
exic
  • 579
  • 4
  • 8