tmux.conf
This commit is contained in:
@@ -60,9 +60,9 @@ def install_vim(pdotfiles, force=False):
|
||||
|
||||
def install_tmux(pdotfiles, force=False):
|
||||
phome = Path(os.path.expanduser("~")).resolve()
|
||||
phome_tmuxrc = phome / Path(".tmuxrc")
|
||||
phome_tmuxrc = phome / Path(".tmux.conf")
|
||||
|
||||
preltmuxrc = Path("tmux/tmuxrc")
|
||||
preltmuxrc = Path("tmux/tmux.conf")
|
||||
|
||||
try:
|
||||
pdotfiles_tmuxrc = pdotfiles.resolve().relative_to(phome.resolve()) / preltmuxrc
|
||||
@@ -73,7 +73,7 @@ def install_tmux(pdotfiles, force=False):
|
||||
phome_tmuxrc.unlink() # only kill symlinks
|
||||
|
||||
if phome_tmuxrc.exists():
|
||||
print('.tmuxrc already there!')
|
||||
print('.tmux.conf already there!')
|
||||
else:
|
||||
print("Symlinking {} to {}".format(phome_tmuxrc, pdotfiles_tmuxrc))
|
||||
phome_tmuxrc.symlink_to(pdotfiles_tmuxrc)
|
||||
|
||||
Reference in New Issue
Block a user