dotfiles
This commit is contained in:
parent
864b049205
commit
2a3d6bb9da
2 changed files with 18 additions and 2 deletions
14
.config/wezterm/wezterm.lua
Normal file
14
.config/wezterm/wezterm.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
local wezterm = require 'wezterm';
|
||||
|
||||
return {
|
||||
font = wezterm.font("FiraCode Nerd Font"),
|
||||
window_padding = {
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
},
|
||||
hide_tab_bar_if_only_one_tab = true,
|
||||
|
||||
}
|
|
@ -1,7 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
|
||||
|
||||
"""
|
||||
link [path] -> move to dotfiles, git add and symlink back
|
||||
unlink [path] -> move from dotfiles and git rm
|
||||
|
@ -21,6 +19,10 @@ def getpaths(path):
|
|||
absolutpath = os.path.abspath(os.path.expanduser(path))
|
||||
dotfilepath = basedir + absolutpath[len(os.path.expanduser("~")):]
|
||||
|
||||
if absolutpath.startswith(basedir):
|
||||
dotfilepath = absolutpath
|
||||
absolutpath = os.path.expanduser("~" + absolutpath[len(basedir):])
|
||||
|
||||
return absolutpath, dotfilepath
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue