1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00
Go to file
2018-06-12 11:55:51 +02:00
2018-07-15 09:28:32 +02:00
2018-01-05 12:10:22 +01:00
2018-01-05 09:25:51 +01:00
2017-11-06 11:42:36 +01:00
2015-09-07 13:48:26 +02:00
2016-04-05 10:54:27 +02:00
2014-05-14 10:12:54 +02:00
2014-05-05 20:43:38 +02:00
2015-01-13 14:09:18 +01:00
2016-12-02 12:02:56 +01:00
2014-05-14 18:09:28 +02:00
2018-02-02 16:21:07 +01:00
2018-03-20 22:14:46 +01:00

dotfiles

After having my homedirs in subversion for years, moved this collection to Git in 2014 and standardised over all my machines.

To install:

mkdir ~/.dot
cd ~/.dot
clone <url>
cd dotfiles    # this takes you to the freshly cloned ~/.dot/dotfiles
sh install.sh  # follow the instructions and install the files in the homedir

Fix for shift+F6 in tmux (and screen probably)

In tmux, do infocmp > screen-256color. Add the line kf16=\E[17;2~, and compile the file with tic. This will result in ~/.terminfo/s/screen-256color with the correct keycode for shift+F6. .tmux.conf needs the line setw -g xterm-keys on for it to register correctly.

~/.git_repos config file

The update_repos script takes the ~/.git_repos config file and lets you update and clone your projects automatically (or at least in a batch). In the example the first four repos are located in ~/workspace/projects/github, and the other two in workspace/projects/others and workspace/projects/private respectively; then the workspace and group are empty, so mydocs is cloned into the homedir. At the moment, only paths relative to the user's homedir are supported.

workspace=workspace/projects
group=github
git@github.com:aquatix/ns-api.git
git@github.com:aquatix/dotfiles.git
git@github.com:aquatix/dammit.git
git@github.com:aquatix/imagine.git

group=others
https://github.com/Azelphur/pyPushBullet.git

group=private
ssh://myserver/srv/git/privdotfiles.git

# Homedir as workspace:
workspace=
group=
ssh://myserver/srv/git/mydocs.git

Interesting scripts

./bin/ description
calibre_update Update (or install) ebook manager Calibre
clean_mac_files Remove those DS_Store and other dirs
clean_project Remove compiled Python files, vim swp files
clean_pyc Remove compiled Python files
fixpermissions chmod dirs to 755, files to 644
fixpictimestamps Change file ctime to datetime from EXIF
fontupdate Update nerd-fonts; whole repo on server, link font files to ~/.local/share/fonts
fuz Simple note-taking 'app' based on FZF and vim
git_autosave Simple script to call from crontab or something to commit certain files in Git and push
git_clean Clean the Git tree
sorter Sort files in newly created subdirectories, based on pre- or postfixes
update_repos Update a bunch of Git repos at once, like all your project. Config with ~/.git_repos
Description
All the cool kids are doing it these days
Readme 3.5 MiB
Languages
Shell 83.5%
Vim script 8.2%
Perl 7.3%
Python 1%