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. # in the order they were defined in.
key_bindings: key_bindings:
- { key: Paste, action: Paste } - { 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, action: ClearLogNotice }
#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, } #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }

View File

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

View File

@ -14,7 +14,8 @@ def load_path():
'~/addins', '~/addins',
'~/.local/bin', '~/.local/bin',
'~/bin', '~/bin',
'~/go/bin' '~/go/bin',
'~/.deno/bin',
]) ])
sys.path.insert(0, '') sys.path.insert(0, '')
@ -89,6 +90,12 @@ def _mcterm():
raise FileNotFoundError("~/.mcrcon") raise FileNotFoundError("~/.mcrcon")
mcrcon -t 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
aliases.update({ aliases.update({
'bwg': _bwc, 'bwg': _bwc,
@ -103,6 +110,7 @@ aliases.update({
'owo': 'echo uwu', 'owo': 'echo uwu',
'ensure-tmux': _ensure_tmux, 'ensure-tmux': _ensure_tmux,
'alias': _alias, 'alias': _alias,
'asu': _add_system_user
}) })
# man page colors :O # man page colors :O