Skip to content

u/ibv

In this archive from Feb 2015 to Feb 2015

0
posts
1
comments
0
media
1
score

Just have the git repo where you maintain the files, and then create a symlink to them from the appropriate directories.

So let's say you have your bashrc file at e.g. ~/git/config/bashrc. You'd just do ln -s ~/git/config/bashrc ~/.bashrc, and then programs will follow the symbolic link at ~/.bashrc to the actual path of the file.

IIRC some programs aren't able to deal with symlinked config files, in which case you should use a hard link (remove the -s from the ln command earlier).

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.