update doots

This commit is contained in:
Riley Housden 2021-12-04 00:41:27 -05:00
parent 42edb52b80
commit 94a6e7fddf
Signed by: InValidFire
GPG Key ID: 0D6208F6DF56B4D8
3 changed files with 14 additions and 3 deletions

View File

@ -723,7 +723,7 @@ window:
# in the order they were defined in.
key_bindings:
- { key: Paste, action: Paste }
- { key: Copy, action: Copy }
- { key: C, mods: Control|Shift, action: Copy }
#- { key: L, mods: Control, action: ClearLogNotice }
#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }

View File

@ -6,9 +6,12 @@
[user]
useConfigOnly = true
email = invalidfire@fastmail.com
name = riley
name = Riley Housden
signingkey = 0D6208F6DF56B4D8
[init]
defaultBranch = main
[core]
editor = vim
autocrlf = input
[commit]
gpgsign = true

View File

@ -14,7 +14,8 @@ def load_path():
'~/addins',
'~/.local/bin',
'~/bin',
'~/go/bin'
'~/go/bin',
'~/.deno/bin',
])
sys.path.insert(0, '')
@ -89,6 +90,12 @@ def _mcterm():
raise FileNotFoundError("~/.mcrcon")
mcrcon -t
def _add_system_user(args: list):
"""used to add a system user for systemd services"""
$(adduser --system --home @(args[1]))
$(addgroup --system @(args[0]))
$(adduser @(args[0]) @(args[0]))
# aliases
aliases.update({
'bwg': _bwc,
@ -103,6 +110,7 @@ aliases.update({
'owo': 'echo uwu',
'ensure-tmux': _ensure_tmux,
'alias': _alias,
'asu': _add_system_user
})
# man page colors :O