Compare commits

..

No commits in common. "master" and "development" have entirely different histories.

82 changed files with 237 additions and 3018 deletions

View file

@ -11,16 +11,11 @@
# set spacevim theme. by default colorscheme layer is not loaded,
# if you want to use more colorscheme, please load the colorscheme
# layer
#colorscheme = "gruvbox"
#colorscheme = "molokai"
#colorscheme = "onedark"
#colorscheme = "one"
colorscheme = "nord"
colorscheme = "gruvbox"
background = "dark"
# Disable guicolors in basic mode, many terminal do not support 24bit
# true colors
enable_guicolors = true
guifont = "Source Code Pro 12"
# Disable statusline separator, if you want to use other value, please
# install nerd fonts
statusline_separator = "curve"
@ -30,80 +25,21 @@
enable_statusline_display_mode = false
relativenumber = true
disabled_plugins = ["fcitx.vim"]
automatic_update = true
filemanager = "nerdtree"
#bootstrap_before = 'myspacevim#before'
#bootstrap_after = 'myspacevim#after'
# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto-completion-return-key-behavior = "complete"
auto-completion-tab-key-behavior = "smart"
name = 'autocomplete'
auto-completion-return-key-behavior = "complete"
auto-completion-tab-key-behavior = "smart"
[[layers]]
name = "ui"
#enable_scrollbar = true
name = 'shell'
default_position = 'top'
default_height = 30
[[layers]]
name = "colorscheme"
name = "sudo"
[[layers]]
name = "core#statusline"
statusline_separator = "arrow"
statusline_iseparator = "bar"
[[layers]]
name="core#tabline"
[[layers]]
#name = "denite"
name = "leaderf"
#name = "fzf"
#name = "ctrlp"
[[layers]]
name = "VersionControl"
[[layers]]
name = "git"
[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30
[[layers]]
name = "sudo"
[[layers]]
name = 'lang#python'
[[layers]]
name = 'lang#go'
[[layers]]
name = 'lang#lua'
[[layers]]
name = 'lang#dockerfile'
[[layers]]
name = 'lang#html'
[[layers]]
name = 'lang#markdown'
[[layers]]
name = 'lang#php'
[[layers]]
name = 'lang#sh'
[[layers]]
name = 'lang#vim'
#[[custom_plugins]]
#name = "saltstack/salt-vim"
[[custom_plugins]]
name = "saltstack/salt-vim"

View file

@ -1,142 +0,0 @@
## where to store your database, default is your system data directory
## linux/mac: ~/.local/share/atuin/history.db
## windows: %USERPROFILE%/.local/share/atuin/history.db
# db_path = "~/.history.db"
## where to store your encryption key, default is your system data directory
## linux/mac: ~/.local/share/atuin/key
## windows: %USERPROFILE%/.local/share/atuin/key
# key_path = "~/.key"
## where to store your auth session token, default is your system data directory
## linux/mac: ~/.local/share/atuin/session
## windows: %USERPROFILE%/.local/share/atuin/session
# session_path = "~/.session"
## date format used, either "us" or "uk"
# dialect = "us"
## enable or disable automatic sync
auto_sync = true
## enable or disable automatic update checks
# update_check = true
## address of the sync server
sync_address = "https://sh.deckersheaven.com"
## how often to sync history. note that this is only triggered when a command
## is ran, so sync intervals may well be longer
## set it to 0 to sync after every command
# sync_frequency = "10m"
sync_frequency = "0"
## which search mode to use
## possible values: prefix, fulltext, fuzzy, skim
# search_mode = "fuzzy"
## which filter mode to use
## possible values: global, host, session, directory
# filter_mode = "global"
## With workspace filtering enabled, Atuin will filter for commands executed
## in any directory within a git repositiry tree (default: false)
# workspaces = false
## which filter mode to use when atuin is invoked from a shell up-key binding
## the accepted values are identical to those of "filter_mode"
## leave unspecified to use same mode set in "filter_mode"
# filter_mode_shell_up_key_binding = "global"
## which search mode to use when atuin is invoked from a shell up-key binding
## the accepted values are identical to those of "search_mode"
## leave unspecified to use same mode set in "search_mode"
# search_mode_shell_up_key_binding = "fuzzy"
## which style to use
## possible values: auto, full, compact
# style = "auto"
## the maximum number of lines the interface should take up
## set it to 0 to always go full screen
# inline_height = 0
## Invert the UI - put the search bar at the top , Default to `false`
# invert = false
## enable or disable showing a preview of the selected command
## useful when the command is longer than the terminal width and is cut off
# show_preview = false
## what to do when the escape key is pressed when searching
## possible values: return-original, return-query
# exit_mode = "return-original"
## possible values: emacs, subl
# word_jump_mode = "emacs"
## characters that count as a part of a word
# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
## number of context lines to show when scrolling by pages
# scroll_context_lines = 1
## use ctrl instead of alt as the shortcut modifier key for numerical UI shortcuts
## alt-0 .. alt-9
# ctrl_n_shortcuts = false
## prevent commands matching any of these regexes from being written to history.
## Note that these regular expressions are unanchored, i.e. if they don't start
## with ^ or end with $, they'll match anywhere in the command.
## For details on the supported regular expression syntax, see
## https://docs.rs/regex/latest/regex/#syntax
# history_filter = [
# "^secret-cmd",
# "^innocuous-cmd .*--secret=.+"
# ]
## prevent commands run with cwd matching any of these regexes from being written
## to history. Note that these regular expressions are unanchored, i.e. if they don't
## start with ^ or end with $, they'll match anywhere in CWD.
## For details on the supported regular expression syntax, see
## https://docs.rs/regex/latest/regex/#syntax
# cwd_filter = [
# "^/very/secret/area"
# ]
## Configure the maximum height of the preview to show.
## Useful when you have long scripts in your history that you want to distinguish
## by more than the first few lines.
# max_preview_height = 4
## Configure whether or not to show the help row, which includes the current Atuin
## version (and whether an update is available), a keymap hint, and the total
## amount of commands in your history.
# show_help = true
## Defaults to true. This matches history against a set of default regex, and will not save it if we get a match. Defaults include
## 1. AWS key id
## 2. Github pat (old and new)
## 3. Slack oauth tokens (bot, user)
## 4. Slack webhooks
## 5. Stripe live/test keys
# secrets_filter = true
## Defaults to true. If enabled, upon hitting enter Atuin will immediately execute the command. Press tab to return to the shell and edit.
# This applies for new installs. Old installs will keep the old behaviour unless configured otherwise.
enter_accept = true
#[stats]
# Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl
#common_subcommands = [
# "cargo",
# "go",
# "git",
# "npm",
# "yarn",
# "pnpm",
# "kubectl",
#]
#
# Set commands that should be totally stripped and ignored from stats
#common_prefix = ["sudo"]

View file

@ -1,4 +0,0 @@
#!/bin/sh
export SSH_ASKPASS=/usr/libexec/ssh/ksshaskpass
/usr/bin/ssh-add </dev/null

View file

@ -1,26 +1,25 @@
#src_dirs = '~'.split() # absolute path to directory to be backed up
passphrase = 'aiwei0pu4Iev0Ies4aeheim9ahmeQuec'
encryption = 'repokey'
repository = '/run/media/psi-jack/Passport/psi-jack/borg'
src_dirs = '''
~
/mnt/storage/psi-jack
'''.split()
excludes = '''
~/tmp
~/Music
~/bin/sl
~/.cache
~/.mozilla
~/.config/google-chrome
~/.config/BraveSoftware
~/.firestorm_x64
~/.firestorm_x64.new
~/.local/share/fonts
~/.local/share/Steam
~/**/__pycache__
~/**/*.pyc
~/**/.*.swp
~/**/.*.swo
/mnt/storage/psi-jack/AfterSolus
/mnt/storage/psi-jack/BeforeMint
/mnt/storage/psi-jack/BeforeSolus
'''.split()

View file

@ -1,22 +0,0 @@
#src_dirs = '~'.split() # absolute path to directory to be backed up
src_dirs = '''
~
'''.split()
excludes = '''
~/tmp
~/Applications
~/Downloads
~/Music
~/Library
~/Parallels
~/.cache
~/.mozilla
~/.config/google-chrome
~/.config/BraveSoftware
~/**/__pycache__
~/**/*.pyc
~/**/.*.swp
~/**/.*.swo
'''.split()

View file

@ -1,28 +0,0 @@
#src_dirs = '~'.split() # absolute path to directory to be backed up
src_dirs = '''
~
'''.split()
excludes = '''
~/tmp
~/.cache
~/.mozilla
~/.config/google-chrome
~/.config/BraveSoftware
~/.firestorm_x64/cache
~/.firestorm_x64/cache-sl
~/.local/share/fonts
~/.local/share/Steam
~/.steam/steam/steamapps
~/**/__pycache__
~/**/*.pyc
~/**/.*.swp
~/**/.*.swo
~/Backups
~/Downloads
~/ISOs
~/Music
~/Nextcloud
~/bin/sl
'''.split()

View file

@ -1,58 +0,0 @@
#src_dirs = '~'.split() # absolute path to directory to be backed up
src_dirs = '''
~
/mnt/storage/psi-jack
'''.split()
excludes = '''
~/Downloads
~/Music
~/Videos
~/VirtualBox*
~/bin/sl
~/snap
~/src/keyboarding-master
~/src/macOS-Simple-KVM
~/src/opensim
~/src/opensim2
~/tmp
~/.cache
~/.mozilla
~/.config/Code
~/.config/discord
~/.config/google-chrome
~/.config/Hamsket
~/.config/BraveSoftware
~/.config/RamboxPro
~/.config/ramboxpro
~/.config/Station
~/.config/unity3d
~/.paradoxlauncher
~/.firestorm/cache*
~/.firestorm_x64/cache*
~/.secondlife/cache*
~/.local/share/containers/storage
~/.local/share/fonts
~/.local/share/feral-interactive
~/.local/share/Steam
~/.nv
~/.kube
~/.steam
~/.thunderbird
~/.vagrant.d/
~/.vscode
~/**/__pycache__
~/**/*.pyc
~/**/.*.swp
~/**/.*.swo
/mnt/storage/psi-jack/Backups
/mnt/storage/psi-jack/Downloads
/mnt/storage/psi-jack/ISOs
/mnt/storage/psi-jack/.mail
/mnt/storage/psi-jack/Music
/mnt/storage/psi-jack/Nextcloud
/mnt/storage/psi-jack/Nextcloud-Gleim
/mnt/storage/psi-jack/Nextcloud-new
/mnt/storage/psi-jack/VirtualBox*
'''.split()

View file

@ -1,32 +0,0 @@
#src_dirs = '~'.split() # absolute path to directory to be backed up
passphrase = 'aiwei0pu4Iev0Ies4aeheim9ahmeQuec'
encryption = 'repokey'
repository = '/Volumes/Passport/macOS/borg'
src_dirs = '''
~
'''.split()
excludes = '''
~/tmp
~/Music
~/Library/Application Support/Steam
~/Library/Application Support/Google
~/Library/Application Support/LogMeInInc
~/Library/Application Support/Code
~/Library/Application Support/Firefox
~/Library/Containers
~/Library/Group Containers
~/Library/Logs
~/Library/Python
~/Library/Caches
~/.cache
~/.mozilla
~/.config/google-chrome
~/.config/BraveSoftware
~/**/__pycache__
~/**/*.pyc
~/**/.*.swp
~/**/.*.swo
'''.split()

View file

@ -1,51 +0,0 @@
#src_dirs = '~'.split() # absolute path to directory to be backed up
passphrase = 'aiwei0pu4Iev0Ies4aeheim9ahmeQuec'
encryption = 'repokey'
repository = '/media/psi-jack/Passport/psi-jack/borg'
src_dirs = '''
~
/mnt/storage/psi-jack
'''.split()
excludes = '''
~/tmp
~/Music
~/bin/sl
~/Downloads
~/Videos
~/snap
~/.cache
~/.mozilla
~/.config/google-chrome
~/.config/BraveSoftware
~/.firestorm_x64
~/.secondlife/cache*
~/.local/share/containers/storage
~/.local/share/fonts
~/.local/share/Steam
~/.steam
~/.config/unity3d
~/.paradoxlauncher
~/.local/share/feral-interactive/
~/.vscode
~/.config/Code/CachedData
~/.config/Code/Cached
~/.config/Code/logs
~/.config/RamboxPro
~/.config/Station/
~/.kube
~/.config/discord/Cache
~/.config/Hamsket
~/**/__pycache__
~/**/*.pyc
~/**/.*.swp
~/**/.*.swo
/mnt/storage/psi-jack/Backups
/mnt/storage/psi-jack/Music
/mnt/storage/psi-jack/Downloads
/mnt/storage/psi-jack/ISOs
/mnt/storage/psi-jack/Videos
/mnt/storage/psi-jack/.mail
'''.split()

View file

@ -1,7 +1,7 @@
# These settings are common to all configurations
# configurations
configurations = 'home passport'
configurations = 'home'
default_configuration = 'home'
# passcode

View file

@ -1,52 +0,0 @@
# These settings are common to all configurations
# configurations
configurations = 'home passport'
default_configuration = 'home'
# passcode
# specify either passphrase or avendesora_account
#passphrase = '<<passcode>>' # passphrase for encryption key
#avendesora_account = '<<account-name>>' # avendesora account holding passphrase
encryption = 'none' # borg encryption method
# Common choices are 'repokey' and 'keyfile'.
# With 'repokey' the encryption key is copied into repository, use this
# only if the remote repository is owned by you and is secure.
# With 'keyfile' the encryption key is only stored locally. Be sure to
# export it and save a copy in a safe place, otherwise you may not be
# able to access your backups if you lose your disk.
# basic settings
# specify notify if batch and notifier if interactive
notify = 'psi-jack@linux-help.org' # who to notify when things go wrong
#notifier = 'notify-send -u normal {prog_name} "{msg}"'
notifier = "osascript -e 'display notification \"{msg}\" with title \"Emborg Backup\"'"
# interactive notifier program
remote_ratelimit = 2000 # bandwidth limit in kbps
prune_after_create = True # automatically run prune after a backup
check_after_create = 'latest' # automatically run check after a backup
# repository settings
compression = 'lz4'
repository = 'mega:/volume1/homes/psi-jack/borg'
remote_path = '/usr/local/bin/borg'
archive = '{prefix}{{now:%Y%m%d}}'
prefix = '{host_name}-'
# These may contain {<name>} where name is any of host_name, user_name,
# prog_name config_name, or any of the user specified settings.
# Double up the braces to specify parameters that should be interpreted
# by borg.
# filter settings
exclude_if_present = '.nobackup'
one_file_system = False
exclude_caches = True
# prune settings
keep_within = '1d' # keep all archives created in interval
keep_hourly = 48 # number of hourly archives to keep
keep_daily = 14 # number of daily archives to keep
keep_weekly = 8 # number of weekly archives to keep
keep_monthly = 24 # number of monthly archives to keep
keep_yearly = 1 # number of yearly archives to keep

View file

@ -1,50 +0,0 @@
# These settings are common to all configurations
# configurations
configurations = 'home passport storage'
default_configuration = 'home'
# passcode
# specify either passphrase or avendesora_account
#passphrase = '<<passcode>>' # passphrase for encryption key
#avendesora_account = '<<account-name>>' # avendesora account holding passphrase
encryption = 'none' # borg encryption method
# Common choices are 'repokey' and 'keyfile'.
# With 'repokey' the encryption key is copied into repository, use this
# only if the remote repository is owned by you and is secure.
# With 'keyfile' the encryption key is only stored locally. Be sure to
# export it and save a copy in a safe place, otherwise you may not be
# able to access your backups if you lose your disk.
# basic settings
# specify notify if batch and notifier if interactive
notify = 'psi-jack@linux-help.org' # who to notify when things go wrong
notifier = 'notify-send -u normal {prog_name} "{msg}"'
# interactive notifier program
remote_ratelimit = 2000 # bandwidth limit in kbps
prune_after_create = True # automatically run prune after a backup
check_after_create = 'latest' # automatically run check after a backup
# repository settings
compression = 'lz4'
repository = 'mega:/volume1/homes/psi-jack/borg'
remote_path = '/usr/local/bin/borg'
archive = '{prefix}{{now:%Y%m%d}}'
prefix = '{host_name}-'
# These may contain {<name>} where name is any of host_name, user_name,
# prog_name config_name, or any of the user specified settings.
# Double up the braces to specify parameters that should be interpreted
# by borg.
# filter settings
exclude_if_present = '.nobackup'
one_file_system = False
exclude_caches = True
# prune settings
keep_within = '1d' # keep all archives created in interval
keep_hourly = 48 # number of hourly archives to keep
keep_daily = 14 # number of daily archives to keep
keep_weekly = 8 # number of weekly archives to keep
keep_monthly = 24 # number of monthly archives to keep
keep_yearly = 1 # number of yearly archives to keep

View file

@ -1,99 +0,0 @@
NAME ACTION
CMD me &2
NAME AME
CMD allchan me &2
NAME ANICK
CMD allserv nick &2
NAME AMSG
CMD allchan say &2
NAME BANLIST
CMD quote MODE %c +b
NAME CHAT
CMD dcc chat %2
NAME DIALOG
CMD query %2
NAME DMSG
CMD msg =%2 &3
NAME EXIT
CMD quit
NAME GREP
CMD lastlog -r -- &2
NAME IGNALL
CMD ignore %2!*@* ALL
NAME J
CMD join &2
NAME KILL
CMD quote KILL %2 :&3
NAME LEAVE
CMD part &2
NAME M
CMD msg &2
NAME OMSG
CMD msg @%c &2
NAME ONOTICE
CMD notice @%c &2
NAME RAW
CMD quote &2
NAME SERVHELP
CMD quote HELP
NAME SPING
CMD ping
NAME SQUERY
CMD quote SQUERY %2 :&3
NAME SSLSERVER
CMD server -ssl &2
NAME SV
CMD echo HexChat %v %m
NAME UMODE
CMD mode %n &2
NAME UPTIME
CMD quote STATS u
NAME VER
CMD ctcp %2 VERSION
NAME VERSION
CMD ctcp %2 VERSION
NAME WALLOPS
CMD quote WALLOPS :&2
NAME WI
CMD quote WHOIS %2
NAME WII
CMD quote WHOIS %2 %2
NAME SLAP
CMD me slaps a trout around a bit with a large %2
<<<<<<< HEAD
=======
NAME SHT
CMD msg %c %2: This channel frowns upon and discourages the use of SMS/shtspk like '%3'. See /topic for reference.
>>>>>>> beb612e4b5104113b2edd4e269cfa058a59a3bec

View file

@ -1,3 +0,0 @@
mask = *!*@118-105-197-83.area51a.commufa.jp
type = 8

View file

@ -52,51 +52,3 @@ CMD 😨
NAME :scream:
CMD 😱
NAME :rofl:
CMD 🤣
NAME :facepalm:
CMD 🤦‍♂️
NAME :think:
CMD 🤔
NAME :smile:
CMD 🙂
NAME :)
CMD 🙂
NAME :grinning:
CMD 😀
NAME :grin:
CMD 😀
NAME :D
CMD 😀
NAME :wink:
CMD 😉
NAME :winking:
CMD 😉
NAME ;)
CMD 😉
NAME :p
CMD 😛
NAME :fire:
CMD 🔥
NAME :eyeroll:
CMD 🙄
NAME :rolleyes:
CMD 🙄
NAME B)
CMD 😎

Binary file not shown.

View file

@ -1,3 +0,0 @@
hwdec=auto
gpu-api=vulkan

View file

@ -1,52 +0,0 @@
# /home/psi-jack/.config/tmuxinator/hv.yml
name: cecs
root: ~/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Project hooks
# Runs on project start, always
# on_project_start: command
# Run on project start, the first time
# on_project_first_start: command
# Run on project start, after the first time
# on_project_restart: command
# Run on project exit ( detaching from tmux session )
# on_project_exit: command
# Run on project stop
# on_project_stop: command
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t hv
windows:
- web: ssh ceweb
- robust1: ssh cerobust1
- regions1: ssh ceregions1
- regions2: ssh ceregions2
- regions3: ssh ceregions3
- regions4: ssh ceregions4

View file

@ -1,54 +0,0 @@
# /home/psi-jack/.config/tmuxinator/hv.yml
name: cecs
root: ~/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Project hooks
# Runs on project start, always
# on_project_start: command
# Run on project start, the first time
# on_project_first_start: command
# Run on project start, after the first time
# on_project_restart: command
# Run on project exit ( detaching from tmux session )
# on_project_exit: command
# Run on project stop
# on_project_stop: command
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t hv
windows:
- web: ssh web1.cegrid.ld -t tmux a
- robust1: ssh robust1.cegrid.ld -t tmux a
- regions1: ssh regions1.cegrid.ld -t tmux a
- regions2: ssh regions2.cegrid.ld -t tmux a
- regions3: ssh regions3.cegrid.ld -t tmux a
- regions4: ssh regions4.cegrid.ld -t tmux a
- regions5: ssh regions5.cegrid.ld -t tmux a
- regions6: ssh regions6.cegrid.ld -t tmux a

View file

@ -1,60 +0,0 @@
# /home/psi-jack/.config/tmuxinator/manage.yml
name: Hosts
root: ~/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Project hooks
# Runs on project start, always
# on_project_start: command
# Run on project start, the first time
# on_project_first_start: command
# Run on project start, after the first time
# on_project_restart: command
# Run on project exit ( detaching from tmux session )
# on_project_exit: command
# Run on project stop
# on_project_stop: command
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t hv
windows:
- frontend: ssh frontend
- git: ssh git
- grafana: ssh grafana
- jump: ssh jump
- pgsql1: ssh pgsql1
- pgsql2: ssh pgsql2
- get: ssh get
- hydra: ssh hydra
- jackett: ssh jackett
- lidarr: ssh lidarr
- ombi: ssh ombi
- plex: ssh plex
- radarr: ssh radarr
- sonarr: ssh sonarr

View file

@ -1,6 +1,6 @@
# /home/psi-jack/.config/tmuxinator/hv.yml
name: HV
name: hv
root: ~/
# Optional tmux socket
@ -43,7 +43,7 @@ root: ~/
# post: tmux -CC attach -t hv
windows:
- hv1: ssh hv1 -t tmux a
- hv2: ssh hv2 -t tmux a
- hv3: ssh hv3 -t tmux a
- hv1: ssh root@hv1
- hv2: ssh root@hv2
- hv3: ssh root@hv3

View file

@ -1,49 +0,0 @@
# /home/psi-jack/.config/tmuxinator/manage.yml
name: Manage
root: ~/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Project hooks
# Runs on project start, always
# on_project_start: command
# Run on project start, the first time
# on_project_first_start: command
# Run on project start, after the first time
# on_project_restart: command
# Run on project exit ( detaching from tmux session )
# on_project_exit: command
# Run on project stop
# on_project_stop: command
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t hv
windows:
- rudder: ssh rudder
- rudder: ssh rudder
- salt: ssh salt

View file

@ -43,6 +43,6 @@ root: ~/
# post: tmux -CC attach -t mysql
windows:
- mysql1: ssh root@mysql1
- mysql2: ssh root@mysql2
- mariadb1: ssh root@mariadb1
- mariadb2: ssh root@mariadb2

View file

@ -1,13 +0,0 @@
session_name: Hypervisors
start_directory: ~/
windows:
- window_name: hv1
panes:
- ssh hv1 -t tmux a
- window_name: hv2
panes:
- ssh hv2 -t tmux a
- window_name: hv3
panes:
- ssh hv3 -t tmux a

View file

@ -1,24 +1,28 @@
#!/bin/bash
# Save this file as ~/.config/yadm/bootstrap and make it executable. It will
# execute all executable files (excluding templates and editor backups) in the
# ~/.config/yadm/bootstrap.d directory when run.
# Because Git submodule commands cannot operate without a work tree, they must
# be run from within $HOME (assuming this is the root of your dotfiles)
cd "$HOME"
set -eu
#echo "Init submodules"
#yadm submodule update --recursive --init
# Directory to look for bootstrap executables in
BOOTSTRAP_D="${BASH_SOURCE[0]}.d"
echo "Install a few things:"
mkdir "$HOME/bin"
echo "+ ZIM"
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
echo "+ TMux Plugin Manager"
mkdir -p "$HOME/.tmux/plugins"
git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm"
echo "+ SpaceVim"
curl -sLF https://spacevim.org/install.sh | bash
if [[ ! -d "$BOOTSTRAP_D" ]]; then
echo "Error: bootstrap directory '$BOOTSTRAP_D' not found" >&2
exit 1
if [[ -f /etc/os-release ]];
source /etc/os-release
if [[ "$ID" == "linuxmint" ]]; then
gsettings set org.cinnamon.desktop.keybindings.wm activate-window-menu '[]'
gsettings set org.cinnamon.desktop.keybindings.wm switch-group '[]'
fi
fi
find "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
if ! "$bootstrap"; then
echo "Error: bootstrap '$bootstrap' failed" >&2
exit 1
fi
fi
done

View file

@ -1,28 +0,0 @@
#!/bin/bash
if [[ -f /etc/os-release ]]; then
source /etc/os-release
if [[ "$ID" == "fedora" ]]; then
#gsettings set org.gnome.desktop.wm.keybindings activate-window-menu '[]'
#gsettings set org.gnome.desktop.wm.keybindings switch-group '[]'
#gsettings set org.gnome.desktop.wm.keybindings switch-group-backward '[]'
#gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up '[]'
#gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down '[]'
#gsettings set org.gnome.desktop.wm.keybindings maximize '[]'
#gsettings set org.gnome.desktop.wm.keybindings unmaximize '[<Primary><Super>BackSpace]'
#gsettings set org.gnome.desktop.wm.keybindings activate-window-menu '[]'
#gsettings set org.gnome.desktop.wm.keybindings cycle-panels '[]'
#gsettings set org.gnome.desktop.wm.keybindings cycle-panels-backward '[]'
dconf load -f / < "$HOME/.config/yadm/fedora.dconf"
elif [[ "$ID" == "linuxmint" ]]; then
gsettings set org.cinnamon.desktop.keybindings.wm activate-window-menu '[]'
gsettings set org.cinnamon.desktop.keybindings.wm switch-group '[]'
elif [[ "$ID" == "ubuntu" ]]; then
gsettings set org.gnome.desktop.wm.keybindings activate-window-menu '[]'
gsettings set org.gnome.desktop.wm.keybindings switch-group '[]'
fi
fi
dconf load -f /com/gexperts/Tilix/ < "$HOME/.config/yadm/tilix.dconf"

View file

@ -1,23 +0,0 @@
#!/bin/bash
# Because Git submodule commands cannot operate without a work tree, they must
# be run from within $HOME (assuming this is the root of your dotfiles)
cd "$HOME"
#echo "Init submodules"
#yadm submodule update --recursive --init
echo "Install a few things:"
mkdir "$HOME/bin"
echo "+ ZIM"
rm -f ".zimrc" ".zlogin" ".zshenv" ".zshrc"
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
yadm checkout -- "$HOME/.zimrc"
yadm checkout -- "$HOME/.zlogin"
yadm checkout -- "$HOME/.zshrc"
zsh -i -c "zimfw install"
echo "+ TMux Plugin Manager"
mkdir -p "$HOME/.tmux/plugins"
git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm"
echo "+ SpaceVim"
curl -sLf https://spacevim.org/install.sh | bash

View file

@ -1 +0,0 @@
.ssh/*.key

File diff suppressed because one or more lines are too long

View file

@ -1,90 +0,0 @@
[com/gexperts/Tilix/keybindings]
session-switch-to-terminal-down='disabled'
session-switch-to-terminal-left='disabled'
session-switch-to-terminal-right='disabled'
session-switch-to-terminal-up='disabled'
terminal-copy='<Super>c'
terminal-paste='<Super>v'
[org/gnome/desktop/wm/keybindings]
activate-window-menu=@as []
cycle-panels=@as []
cycle-panels-backward=@as []
maximize=@as []
move-to-monitor-down=['<Control><Alt><Super>Down']
move-to-monitor-left=['<Control><Alt><Super>Left']
move-to-monitor-right=['<Control><Alt><Super>Right']
move-to-monitor-up=['<Control><Alt><Super>Up']
move-to-workspace-1=['<Shift><Control><Alt>Home']
move-to-workspace-down=@as []
move-to-workspace-last=['<Shift><Control><Alt>End']
move-to-workspace-left=['<Shift><Control><Alt>Left']
move-to-workspace-right=['<Shift><Control><Alt>Right']
move-to-workspace-up=@as []
switch-group=@as []
switch-group-backward=@as []
switch-to-workspace-up=@as []
switch-to-workspace-down=@as []
switch-to-workspace-left=['<Control><Super>Left']
switch-to-workspace-right=['<Control><Super>Right']
switch-input-source=@as []
switch-input-source-backward=@as []
unmaximize=['<Control><Alt>BackSpace']
[org/gnome/desktop/wm/preferences]
button-layout='close,minimize,maximize:appmenu'
[org/gnome/mutter/keybindings]
toggle-tiled-left=@as []
toggle-tiled-right=@as []
[org/gnome/mutter/wayland/keybindings]
restore-shortcuts=@as []
[org/gnome/settings-daemon/plugins/media-keys]
calculator=['Calculator']
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/']
email=['Mail']
home=['<Super>f']
media=['Tools']
next=['AudioNext']
play=['AudioPlay']
previous=['AudioPrev']
search=['Search']
stop=['AudioStop']
volume-down=['AudioLowerVolume']
volume-mute=['AudioMute']
volume-up=['AudioRaiseVolume']
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
binding='<Super>grave'
command='tilix -q -p Tmux'
name='Visor Terminal'
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1]
binding='<Super><Shift>v'
command='pavucontrol'
name='Volume Control'
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2]
binding='<Control><Alt>Escape'
command='xkill'
name='XKill'
[org/gnome/shell/extensions/tiling-assistant]
current-tiling-mode='right'
enable-tiling-popup=false
tile-bottom-half=['<Control><Alt>Down']
tile-bottomleft-quarter=['<Alt><Super>j']
tile-bottomright-quarter=['<Alt><Super>k']
tile-left-half=['<Control><Alt>Left']
tile-maximize=['<Control><Alt>Return']
tile-right-half=['<Control><Alt>Right']
tile-top-half=['<Control><Alt>Up']
tile-topleft-quarter=['<Control><Alt>u']
tile-topright-quarter=['<Control><ALt>i']
[org/gnome/shell/keybindings]
toggle-message-tray=@as []
toggle-overview=['<Super>s', '<Super><Control>Up']

View file

@ -1,171 +0,0 @@
[com/gexperts/Tilix]
quake-height-percent=55
quake-hide-headerbar=true
quake-specific-monitor=0
tab-position='bottom'
terminal-title-show-when-single=false
terminal-title-style='normal'
use-overlay-scrollbar=true
warn-vte-config-issue=false
window-style='normal'
[com/gexperts/Tilix/profiles]
list=['2b7c4080-0ddd-46c5-8f23-563fd3ba789d', '8b7f94c7-649c-41d6-adc7-7123a631e58e']
[com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d]
background-color='#272822'
badge-color='#AC7EA8'
badge-color-set=false
bold-color-set=false
cursor-colors-set=false
font='UbuntuMonoDerivativePowerline Nerd Font 15'
foreground-color='#F8F8F2'
highlight-colors-set=false
login-shell=true
palette=['#272822', '#F92672', '#A6E22E', '#F4BF75', '#66D9EF', '#AE81FF', '#A1EFE4', '#F8F8F2', '#75715E', '#F92672', '#A6E22E', '#F4BF75', '#66D9EF', '#AE81FF', '#A1EFE4', '#F9F8F5']
use-system-font=false
use-theme-colors=false
visible-name='Default'
[com/gexperts/Tilix/profiles/8b7f94c7-649c-41d6-adc7-7123a631e58e]
allow-bold=true
automatic-switch=@as []
background-color='#263238'
background-transparency-percent=0
backspace-binding='ascii-delete'
badge-color='#ffffff'
badge-color-set=false
badge-font='Monospace 12'
badge-position='northeast'
badge-text=''
badge-use-system-font=true
bold-color='#ffffff'
bold-color-set=false
bold-is-bright=true
cell-height-scale=1.0
cell-width-scale=1.0
cjk-utf8-ambiguous-width='narrow'
cursor-background-color='#000000'
cursor-blink-mode='system'
cursor-colors-set=false
cursor-foreground-color='#ffffff'
cursor-shape='block'
custom-command='tmux -2 a'
custom-hyperlinks=@as []
default-size-columns=80
default-size-rows=24
delete-binding='delete-sequence'
dim-transparency-percent=0
draw-margin=80
encoding='UTF-8'
exit-action='close'
font='UbuntuMonoDerivativePowerline Nerd Font 15'
foreground-color='#A1B0B8'
highlight-background-color='#000000'
highlight-colors-set=false
highlight-foreground-color='#ffffff'
login-shell=true
notify-silence-enabled=false
notify-silence-threshold=0
palette=['#252525', '#FF5252', '#C3D82C', '#FFC135', '#42A5F5', '#D81B60', '#00ACC1', '#F5F5F5', '#708284', '#FF5252', '#C3D82C', '#FFC135', '#42A5F5', '#D81B60', '#00ACC1', '#F5F5F5']
rewrap-on-resize=true
scroll-on-keystroke=true
scroll-on-output=false
scrollback-lines=256
scrollback-unlimited=false
select-by-word-chars='-,./?%&#:_'
shortcut='disabled'
show-scrollbar=true
terminal-bell='icon-sound'
terminal-title='${id}: ${title}'
text-blink-mode='always'
triggers=@as []
use-custom-command=true
use-system-font=false
use-theme-colors=false
visible-name='Tmux'
[net/launchpad/plank/docks/dock1]
alignment='center'
auto-pinning=true
current-workspace-only=false
dock-items=['google-chrome.dockitem', 'org.gnome.Evolution.dockitem', 'rhythmbox.dockitem', 'userapp-Evolution-35UZ20.dockitem', 'org.gnome.eog.dockitem', 'org.gnome.Totem.dockitem', 'desktop.dockitem', 'trash.dockitem']
hide-delay=0
hide-mode='intelligent'
icon-size=48
items-alignment='center'
lock-items=false
monitor=''
offset=0
pinned-only=false
position='left'
pressure-reveal=false
show-dock-item=false
theme='Matte'
tooltips-enabled=true
unhide-delay=0
zoom-enabled=false
zoom-percent=150
[org/gnome/desktop/file-sharing]
require-password='always'
[org/gnome/desktop/interface]
clock-format='12h'
color-scheme='prefer-dark'
cursor-theme='Adwaita'
font-antialiasing='grayscale'
font-hinting='slight'
gtk-im-module='gtk-im-context-simple'
gtk-theme='Adwaita-dark'
icon-theme='Adwaita'
toolkit-accessibility=false
[org/gnome/desktop/wm/preferences]
button-layout='close,minimize,maximize:appmenu'
[org/gnome/gedit/preferences/editor]
scheme='oblivion'
wrap-last-split-mode='word'
[org/gnome/gedit/preferences/ui]
show-tabs-mode='auto'
[org/gnome/gedit/state/window]
bottom-panel-size=140
side-panel-active-page='GeditWindowDocumentsPanel'
side-panel-size=200
size=(1069, 700)
state=87168
[org/gnome/gnome-screenshot]
delay=0
include-pointer=false
last-save-directory='file:///home/psi-jack/Pictures'
[org/gnome/mutter]
edge-tiling=false
[org/gnome/nautilus/compression]
default-compression-format='zip'
[org/gnome/shell/extensions/auto-move-windows]
application-list=['google-chrome.desktop:1', 'userapp-Evolution-35UZ20.desktop:2']
[org/gnome/shell/extensions/monitor-window-switcher]
filter-per-monitor=true
show-in-current=true
[org/gnome/shell/overrides]
edge-tiling=false
[org/gnome/system/location]
enabled=true
[org/gtk/settings/file-chooser]
clock-format='12h'
date-format='regular'
location-mode='path-bar'
show-hidden=false
sort-order='ascending'
type-format='category'

View file

@ -1,3 +0,0 @@
#!/usr/bin/env zsh
echo "Run 'reload_dotfiles' to reload ZSH environment."

View file

@ -1,143 +0,0 @@
[com/gexperts/Tilix]
quake-height-percent=52
quake-hide-headerbar=true
quake-hide-lose-focus=false
quake-specific-monitor=0
quake-tab-position='bottom'
quake-width-percent=99
tab-position='bottom'
terminal-title-show-when-single=false
warn-vte-config-issue=false
[com/gexperts/Tilix/keybindings]
session-switch-to-terminal-down='disabled'
session-switch-to-terminal-left='disabled'
session-switch-to-terminal-right='disabled'
session-switch-to-terminal-up='disabled'
[com/gexperts/Tilix/profiles]
list=['2b7c4080-0ddd-46c5-8f23-563fd3ba789d', '6d52293c-437e-43b6-9bcf-f5e9d50be7df']
[com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d]
font='Hack 12'
login-shell=true
use-system-font=false
visible-name='Default'
[com/gexperts/Tilix/profiles/6d52293c-437e-43b6-9bcf-f5e9d50be7df]
custom-command='tmux -2 a'
font='Hack 12'
login-shell=true
scrollback-lines=256
use-custom-command=true
use-system-font=false
visible-name='Quake'
[org/gnome/desktop/wm/keybindings]
close=['<Super>q']
move-to-workspace-1=@as []
move-to-workspace-last=@as []
switch-applications=['<Super>Tab']
switch-applications-backward=['<Shift><Super>Tab']
switch-group=@as []
switch-group-backward=@as []
switch-input-source=@as []
switch-input-source-backward=@as []
switch-to-workspace-1=['<Primary><Super>Home']
switch-to-workspace-down=@as []
switch-to-workspace-last=['<Primary><Super>End']
switch-to-workspace-left=['<Control><Super>Left']
switch-to-workspace-right=['<Control><Super>Right']
switch-to-workspace-up=@as []
toggle-maximized=['<Primary><Super>Return']
[org/gnome/desktop/wm/preferences]
button-layout='appmenu:minimize,maximize,close'
[org/gnome/settings-daemon/plugins/media-keys]
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/PopLaunch1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']
next=['AudioNext']
play=['AudioPlay']
previous=['AudioPrev']
screensaver=['<Super>l']
volume-down=['AudioLowerVolume']
volume-mute=['AudioMute']
volume-up=['AudioRaiseVolume']
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
binding='<Super>grave'
command='tilix -q -p Quake'
name='Visor Terminal'
[org/gnome/shell/keybindings]
show-screenshot-ui=['<Shift><Super>dollar']
toggle-application-view=['<Super>space']
toggle-message-tray=@as []
toggle-overview=['<Primary><Super>Up']
[org/gnome/shell/extensions/tiling-assistant]
activate-layout0=@as []
activate-layout1=@as []
activate-layout2=@as []
activate-layout3=@as []
auto-tile=@as []
center-window=@as []
debugging-free-rects=@as []
debugging-show-tiled-rects=@as []
default-move-mode=0
dynamic-keybinding-behaviour=0
import-layout-examples=false
restore-window=['<Super>Down']
search-popup-layout=@as []
tile-bottom-half=['<Control><Alt>Down']
tile-bottomleft-quarter=['<Control><Alt>j']
tile-bottomright-quarter=['<Control><Alt>k']
tile-edit-mode=@as []
tile-left-half=['<Control><Alt>Left']
tile-maximize=['<Control><Super>Return']
tile-maximize-horizontally=@as []
tile-maximize-vertically=@as []
tile-right-half=['<Control><Alt>Right']
tile-top-half=['<Control><Alt>Up']
tile-topleft-quarter=['<Control><Alt>u']
tile-topright-quarter=['<Control><Alt>i']
toggle-always-on-top=@as []
toggle-tiling-popup=@as []
[org/gnome/shell/extensions/pop-shell]
focus-down=@as []
focus-left=@as []
focus-right=@as []
focus-up=@as []
management-orientation=@as []
pop-monitor-down=@as []
pop-monitor-left=@as []
pop-monitor-right=@as []
pop-monitor-up=@as []
pop-workspace-down=@as []
pop-workspace-up=@as []
tile-accept=@as []
tile-enter=@as []
tile-move-down=@as []
tile-move-left=@as []
tile-move-right=@as []
tile-move-up=@as []
tile-reject=@as []
tile-resize-down=@as []
tile-resize-left=@as []
tile-resize-right=@as []
tile-resize-up=@as []
tile-swap-down=@as []
tile-swap-left=@as []
tile-swap-right=@as []
tile-swap-up=@as []
[org/gnome/mutter]
edge-tiling=false
workspaces-only-on-primary=true

View file

@ -1,39 +0,0 @@
[/]
quake-height-percent=50
quake-hide-headerbar=true
quake-specific-monitor=0
quake-tab-position='bottom'
quake-width-percent=99
tab-position='bottom'
terminal-title-show-when-single=false
warn-vte-config-issue=false
[keybindings]
session-switch-to-terminal-down='disabled'
session-switch-to-terminal-left='disabled'
session-switch-to-terminal-right='disabled'
session-switch-to-terminal-up='disabled'
terminal-copy='<Super>c'
terminal-paste='<Super>v'
[profiles]
list=['2b7c4080-0ddd-46c5-8f23-563fd3ba789d', 'd2d47834-ba29-47a3-8db1-57cf5c0aaede']
[profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d]
visible-name='Default'
[profiles/d2d47834-ba29-47a3-8db1-57cf5c0aaede]
background-color='#263238'
badge-color-set=false
bold-color-set=false
cursor-colors-set=false
custom-command='tmux -2 a'
font='Hack 12'
foreground-color='#A1B0B8'
highlight-colors-set=false
login-shell=true
palette=['#252525', '#FF5252', '#C3D82C', '#FFC135', '#42A5F5', '#D81B60', '#00ACC1', '#F5F5F5', '#708284', '#FF5252', '#C3D82C', '#FFC135', '#42A5F5', '#D81B60', '#00ACC1', '#F5F5F5']
use-custom-command=true
use-system-font=false
use-theme-colors=false
visible-name='Tmux'

View file

@ -1,4 +0,0 @@
# Do not edit this file. To specify the files to encrypt, create your own
# .gitattributes file in the directory where your files are.
* !filter !diff
*.gpg binary

6
.gitattributes vendored
View file

@ -1,6 +0,0 @@
.gitattributes !filter !diff
.config/hexchat/servlist.conf filter=git-crypt diff=git-crypt
.ssh/id_* filter=git-crypt diff=git-crypt
.ssh/id_*.pub !filter !diff

View file

@ -1,29 +0,0 @@
[user]
name = Eric Renfro
email = psi-jack@linux-help.org
signingkey = 25787986B19167B89BFF55CF3159FF4CB13EBFB4
[sendemail]
smtpencryption = tls
smtpserver = mx.linux-help.org
smtpuser = eric.renfro@linux-help.org
smtpserverport = 587
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgsign = true
[alias]
up = !git pull --prune $@ && git submodule update --init --recursive
[credential]
#helper = /usr/lib/git/git-core/git-credential-store
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
#helper = libsecret
[gpg]
program = gpg
[init]
defaultBranch = master
[pull]
rebase = false

View file

@ -1 +0,0 @@
.gitconfig##d.arch

View file

@ -23,7 +23,3 @@
#helper = libsecret
[gpg]
program = gpg2
[init]
defaultBranch = master
[pull]
rebase = false

View file

@ -1,22 +0,0 @@
[user]
name = Eric Renfro
email = psi-jack@linux-help.org
signingkey = 25787986B19167B89BFF55CF3159FF4CB13EBFB4
[sendemail]
smtpencryption = tls
smtpserver = mx.linux-help.org
smtpuser = eric.renfro@linux-help.org
smtpserverport = 587
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgsign = true
[alias]
up = !git pull --prune $@ && git submodule update --init --recursive
[credential]
#helper = /usr/lib/git/git-core/git-credential-store
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
#helper = libsecret

View file

@ -1,34 +0,0 @@
[user]
name = Eric Renfro
email = psi-jack@linux-help.org
signingkey = 25787986B19167B89BFF55CF3159FF4CB13EBFB4
[sendemail]
smtpencryption = tls
smtpserver = mx.linux-help.org
smtpuser = eric.renfro@linux-help.org
smtpserverport = 587
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgsign = true
[alias]
up = !git pull --prune $@ && git submodule update --init --recursive
[credential]
#helper = /usr/lib/git/git-core/git-credential-store
#helper = /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring
#helper = /usr/libexec/git-core/git-credential-libsecret
helper = /usr/lib/git-core/git-credential-libsecret
#helper = libsecret
[gpg]
program = gpg2
[init]
defaultBranch = master
[pull]
rebase = false
[color]
ui = true
[core]
pager = less -r

View file

@ -1,37 +0,0 @@
[user]
name = Eric Renfro
email = psi-jack@psi-jack@linux-help.org
signingkey = 25787986B19167B89BFF55CF3159FF4CB13EBFB4
[sendemail]
smtpencryption = tls
smtpserver = mx.linux-help.org
smtpuser = eric.renfro@linux-help.org
smtpserverport = 587
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgsign = true
[credential]
helper = /usr/libexec/git/git-credential-libsecret
#helper = /usr/lib/git/git-core/git-credential-store
#helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
#helper = libsecret
[alias]
up = !git pull --prune $@ && git submodule update --init --recursive
[color]
ui = auto
[color "branch"]
remote = blue
local = cyan
[core]
editor = vim
[pull]
rebase = true
[push]
default = simple
[submodule]
recurse = true

View file

@ -18,10 +18,3 @@
up = !git pull --prune $@ && git submodule update --init --recursive
[credential]
helper = osxkeychain
[pull]
rebase = false
ff = only
[color]
ui = true
[core]
pager = less -r

View file

@ -1,2 +0,0 @@
#alias fix-yubikey='sudo systemctl restart pcscd.service'
alias fix-yubikey='gpg-connect-agent "scd serialno" "learn --force" /bye'

View file

@ -1,3 +0,0 @@
if (( ${+commands[go-task]} )); then
alias task=go-task
fi

View file

@ -1,16 +0,0 @@
case `uname` in
Linux)
if whence -p nvim-gtk > /dev/null; then
alias vim=nvim-gtk
elif whence -p nvim > /dev/null; then
alias vim=nvim
elif whence -p gvim > /dev/null; then
alias vim=gvim
fi
;;
Darwin)
if whence -p nvim > /dev/null; then
alias vim=nvim
fi
esac

View file

@ -1,4 +0,0 @@
if (( ${+commands[kubectl]} )); then
alias k=kubectl
source <(kubectl completion zsh)
fi

View file

@ -1,6 +1 @@
if (( ! ${+commands[exa]} )); then
alias ls='ls --group-directories-first --color=always'
else
alias ls='exa --group-directories-first'
fi
alias ls='ls --group-directories-first --color=always'

View file

@ -1,4 +1,4 @@
#if whence -p nvim > /dev/null; then
# alias vim=nvim
#fi
if whence -p nvim > /dev/null; then
alias vim=nvim
fi

View file

@ -1 +0,0 @@
#alias smerge="flatpak run com.sublimemerge.App"

View file

@ -1 +0,0 @@
#alias subl="flatpak run com.sublimetext.three"

View file

@ -0,0 +1 @@
#alias code="flatpak run com.visualstudio.code"

View file

@ -1 +0,0 @@
alias code='FLATPAK_ENABLE_SDK_EXT="golang,rust-stable,php74" flatpak run com.visualstudio.code'

View file

@ -1,12 +1,2 @@
case "$(hostname -s)" in
midgaard) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg-midgaard";;
loki) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg-loki";;
ragnarok) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg-ragnarok";;
Intelity-02110) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg-worktop";;
*) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg";;
esac
export BORG_REMOTE_PATH="/usr/local/bin/borg"
#export BORG_REPO=mega:/volume1/homes/psi-jack/borg
#export BORG_REPO=psi-jack@mega-backups:/volume1/homes/psi-jack/borg
export BORG_REPO=psi-jack@mega-backups:/volume1/homes/psi-jack/borg
#export BORG_PASSCOMMAND="pass print borg --please_show_me_the_passwords"

View file

@ -1,6 +0,0 @@
# Default Environment
#export SSH_ASKPASS=/usr/libexec/ssh/gnome-ssh-askpass
#export SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
#export SSH_ASKPASS=/usr/bin/ksshaskpass
export SSH_ASKPASS=/usr/libexec/ssh/ksshaskpass

View file

@ -1,20 +1,6 @@
#case `uname` in
# Linux)
# EDITOR=/usr/bin/nvim
# SUDO_EDITOR=/usr/bin/nvim
# VISUAL=/usr/bin/nvim
# ;;
# Darwin)
# EDITOR=nvim
# SUDO_EDITOR=nvim
# VISUAL=nvim
# ;;
#esac
# Default Environment
#export EDITOR
#export VISUAL
#export PAGER=less
##export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
##export SPACEVIMDIR="$HOME/.SpaceVim.d/"
export EDITOR=vim
export VISUAL=vim
export PAGER=less
export SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
#export SSH_ASKPASS=/usr/bin/ksshaskpass

View file

@ -1,3 +0,0 @@
if (( ${+commands[direnv]} )); then
eval "$(direnv hook zsh)"
fi

View file

@ -1,4 +0,0 @@
if go env GOPATH &>/dev/null; then
export PATH="${PATH}:$(go env GOPATH)/bin"
fi

View file

@ -1,2 +0,0 @@
export ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX=YES

View file

@ -1,4 +0,0 @@
if [[ -d "$HOME/.krew/bin" || -n "$KREW_ROOT" ]]; then
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
fi

View file

@ -1,2 +0,0 @@
export PATH="$PATH:$HOME/Library/Python/3.7/bin"

View file

@ -1,10 +1,4 @@
#bindkey -s "\e[24;3~" ""
#bindkey -s "\e[1;2A" ""
#bindkey -s "\e[1;2B" ""
bindkey -s "\e[24;3~" ""
bindkey -s "\e[1;2A" ""
bindkey -s "\e[1;2B" ""
# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
bindkey "eOH" beginning-of-line
bindkey "eOF" end-of-line
# for freebsd console
bindkey "e[H" beginning-of-line
bindkey "e[F" end-of-line

View file

@ -1,18 +0,0 @@
function disable-gnome-extensions ()
{
case "$1" in
true|on|yes)
echo "Disabling Gnome User Extensions"
gsettings set org.gnome.shell disable-user-extensions true
;;
false|off|no)
echo "Disabling Gnome User Extenions"
gsettings set org.gnome.shell disable-user-extensions false
;;
*)
echo "Disables GNOME Extensions - In case of emergency"
echo "Usage: $0 true|false"
;;
esac
}

View file

@ -1,8 +1,139 @@
function lhpaste() {
local server_url="https://paste.linux-help.org/"
local expire="1day"
local server_url="https://paste.linux-help.org"
#zparseopts -D -E -F -
local o_apikey
local o_expire=(--expire 60)
local o_help
local o_lang
local o_name
local o_private
local o_reply
local o_title
local o_url=(--url https://paste.linux-help.org)
local args
pbcli --host="$server_url" --expire="$expire"
if [[ -n "$LHPASTE_API_KEY" ]]; then
o_apikey=(--apikey "$LHPASTE_API_KEY")
fi
if [[ -n "$LHPASTE_NAME" ]]; then
o_name=(--name "$LHPASTE_NAME")
else
o_name=(--name "$USER")
fi
if [[ -n "$LHPASTE_SERVER_URL" ]]; then
o_url=(--url "$LHPASTE_SERVER_URL")
fi
zparseopts -D -K -M -- \
h=o_help -help=h \
e:=o_expire -expire:=e \
l:=o_lang -lang:=l \
n:=o_name -name:=n \
p=o_private -private=p \
r:=o_reply -reply:=r \
t:=o_title -title:=t \
u:=o_url -url:=u \
a:=o_apikey -apikey:=a
if [[ -n "$o_help" ]]; then
cat <<-EOF
USAGE: $funcstack[1] [OPTIONS] [FILE]
OPTIONS:
--expire MIN, -e MIN Set paste expire time in minutes (Default: $o_expire[2])
--lang LANG, -l LANG Set paste language
--name TEXT, -n TEXT Set paste author name (Default: $o_name[2])
--private, -p Set paste private
--reply ID, -r ID Set paste in reply to ID
--title TEXT, -t TEXT Set paste title text
--url URL, -u URL Set paste server URL (Default: $o_url[2])
--apikey TEXT, -a TEXT Set API-KEY for Stikked Paste access
ENVIRONMENT:
LHPASTE_NAME Set the name to use instead of the default value of \$USER
LHPASTE_SERVER_URL Set the server base url to the stikked server
LHPASTE_API_KEY Set the apikey to use the stikked server API
EOF
return 0
fi
#echo "DEBUG:"
#echo "expire = $o_expire[2]"
#echo "lang = $o_lang[2]"
#echo "name = $o_name[2]"
#echo "help = $o_help"
#echo "private = $o_private"
#echo "reply = $o_reply[2]"
#echo "title = $o_title[2]"
#echo "url = $o_url[2]"
#echo "apikey = $o_apikey[2]"
if [[ -n "$o_expire" ]]; then
args+=(-d "expire=$o_expire[2]")
fi
if [[ -n "$o_lang" ]]; then
args+=(-d "lang=$o_lang[2]")
fi
if [[ -n "$o_name" ]]; then
args+=(-d "name=$o_name[2]")
fi
if [[ -n "$o_private" ]]; then
if [[ "$o_private" == "-p" || "$o_private" == "--private" || "$o_private" == "-p1" ]]; then
args+=(-d "private=1")
elif [[ "$o_private" == "-p0" ]]; then
args+=(-d "private=0")
fi
fi
if [[ -n "$o_reply" ]]; then
args+=(-d "name=$o_reply[2]")
fi
if [[ -n "$o_title" ]]; then
args+=(-d "name=$o_title[2]")
fi
#if [[ -n "$o_apikey" ]]; then
# apikey="$o_apikey[2]"
#fi
if [[ -n "$o_url" ]]; then
server_url="$o_url[2]/api/create"
if [[ -n "$o_apikey" ]]; then
server_url="$server_url?apikey=$o_apikey[2]"
fi
fi
#echo "args = $args"
#echo "opts = $*"
#return 0
if [[ -t 1 ]]; then
if test $# = 0; then
if test -t 0; then
echo "Missing filename" 1>&2
return
fi
curl $args --data-urlencode text@- "$server_url"
else
curl $args --data-urlencode text@"$1" "$server_url"
fi
else
if test $# = 0; then
if test -t 0; then
echo "Missing filename" 1>&2
return
fi
curl $args --data-urlencode text@- "$server_url"
else
curl $args --data-urlencode text@"$1" "$server_url"
fi
fi
}

View file

@ -3,6 +3,6 @@ function reload_dotfiles ()
while read f
do
source "$f"
done < <(find "${HOME}/.local/dotfiles" \( -type l -o -type f \) -name '*.zsh')
done < <(find "${HOME}/.local/dotfiles" -type f -name '*.zsh')
}

View file

@ -1,3 +0,0 @@
function update-mirrorlist() {
sudo reflector --verbose -c US,CA --connection-timeout 4 --download-timeout 3 --protocol https --age 1 --sort rate --number 350 --fastest 50 --threads 24 --save /etc/pacman.d/mirrorlist
}

View file

@ -0,0 +1,9 @@
function update-solrepo() {
REPO_DIR=${REPO_DIR-/mnt/storage/repo/solus}
pushd "$REPO_DIR" 2>&1 >/dev/null
eopkg index
rsync -avhHi --delete-after "${REPO_DIR}/" root@bastion:/srv/repo/solus/
popd 2>&1 >/dev/null
}

Binary file not shown.

View file

@ -1,11 +1,6 @@
#EDITOR=nvim
#VISUAL=nvim
EDITOR=vim
VISUAL=vim
#PATH DEFAULT=${PATH}:/home/@{PAM_USER}/bin
#PATH DEFAULT=${PATH}:@{HOME}/bin
#SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
#QT_QPA_PLATFORMTHEME=qgnomeplatform
#MOZ_X11_EGL=1
#MOZ_ENABLE_WAYLAND=1
#SSH_ASKPASS=/usr/libexec/ssh/ksshaskpass
#SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3

8
.profile Normal file
View file

@ -0,0 +1,8 @@
#if [[ -f /etc/solus-release ]]; then
# source /usr/share/defaults/etc/profile
#fi
export EDITOR=vim
export PATH=$PATH:$HOME/bin:$HOME/go/bin
#export QT_QPA_PLATFORMTHEME=qgnomeplatform

View file

@ -1,21 +0,0 @@
#if [[ -f /etc/solus-release ]]; then
# source /usr/share/defaults/etc/profile
#fi
EDITOR=nvim
SUDO_EDITOR=nvim
VISUAL=nvim
if [[ -r "/usr/local/bin/lesspipe.sh" ]]; then
export LESSOPEN="|/usr/local/bin/lesspipe.sh %s"
fi
# Default Environment
export EDITOR SUDO_EDITOR VISUAL
export PAGER=less
export SSH_ASKPASS
#export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
#export SPACEVIMDIR="$HOME/.SpaceVim.d/"
#export PATH=$PATH:$HOME/bin:$HOME/go/bin
#export QT_QPA_PLATFORMTHEME=qgnomeplatform
#. "$HOME/.cargo/env"

View file

@ -1,22 +0,0 @@
#if [[ -f /etc/solus-release ]]; then
# source /usr/share/defaults/etc/profile
#fi
export EDITOR=/usr/bin/nvim
export SUDO_EDITOR=/usr/bin/nvim
export SYSTEMD_EDITOR=/usr/bin/nvim
export VISUAL=/usr/bin/nvim
if [[ -x "/usr/lib/ssh/gnome-ssh-askpass3" ]]; then
export SSH_ASKPASS=/usr/lib/ssh/gnome-ssh-askpass3
elif [[ -x "/usr/lib/seahorse/ssh-askpass" ]]; then
export SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass
fi
# Default Environment
export PAGER=less
#export VIMINIT=":set runtimepath^=$HOME/.SpaceVim|:source $HOME/.SpaceVim/vimrc"
#export SPACEVIMDIR="$HOME/.SpaceVim.d/"
#export PATH=$PATH:$HOME/bin:$HOME/go/bin
#export QT_QPA_PLATFORMTHEME=qgnomeplatform
#. "$HOME/.cargo/env"

View file

@ -1,279 +0,0 @@
# include this from .bashrc, .zshrc or
# another shell startup file with:
# source $HOME/.shellfishrc
# this script does nothing outside ShellFish
if [[ "$LC_TERMINAL" = "ShellFish" ]]; then
ios_printURIComponent() {
awk 'BEGIN {while (y++ < 125) z[sprintf("%c", y)] = y
while (y = substr(ARGV[1], ++j, 1))
q = y ~ /[a-zA-Z0-9]/ ? q y : q sprintf("%%%02X", z[y])
printf("%s", q)}' "$1"
}
ios_printBase64Component() {
echo -n "$1" | base64
}
which printf > /dev/null
ios_hasPrintf=$?
ios_printf() {
if [ $ios_hasPrintf ]; then
printf "$1"
else
awk "BEGIN {printf \"$1\"}"
fi
}
ios_sequence() {
if [[ -n "$TMUX" ]]; then
OUTPUT=$(
ios_printf '\033Ptmux;\033\033]'
echo -n "$1" | tr -d '[:space:]'
ios_printf '\a\033\\' )
else
OUTPUT=$(
ios_printf '\033]'
echo -n "$1" | tr -d '[:space:]'
ios_printf '\a' )
fi
if [ -t 1 ] ; then
echo -n $OUTPUT
elif [[ -n "$SSH_TTY" ]]; then
echo -n $OUTPUT > $SSH_TTY
else
echo >&2 'Standard output is not tty and there is no $SSH_TTY'
fi
}
# prepare fifo for communicating result back to shell
ios_prepareResult() {
FIFO=$(mktemp)
rm -f $FIFO
mkfifo $FIFO
echo $FIFO
}
# wait for terminal to complete action
ios_handleResult() {
FIFO=$1
if [ -n "$FIFO" ]; then
read <$FIFO -s
rm -f $FIFO
if [[ $REPLY = error* ]]; then
echo "${REPLY#error=}" | base64 >&2 -d
return 1
fi
if [[ $REPLY = result* ]]; then
echo "${REPLY#result=}" | base64 -d
fi
fi
}
sharesheet() {
if [[ $# -eq 0 ]]; then
if tty -s; then
cat <<EOF
Usage: sharesheet [FILE]...
Present share sheet for files and directories. Alternatively you can pipe in text and call it without arguments.
If arguments exist inside the Files app changes made are written back to the server.
EOF
return 0
fi
fi
FIFO=$(ios_prepareResult)
OUTPUT=$(
awk 'BEGIN {printf "6;sharesheet://?ver=2&respond="}'
ios_printBase64Component "$FIFO"
awk 'BEGIN {printf "&pwd="}'
ios_printBase64Component "$PWD"
awk 'BEGIN {printf "&home="}'
ios_printBase64Component "$HOME"
for var in "$@"
do
awk 'BEGIN {printf "&path="}'
ios_printBase64Component "$var"
done
if [[ $# -eq 0 ]]; then
text=$(cat -)
awk 'BEGIN {printf "&text="}'
ios_printBase64Component "$text"
fi
)
ios_sequence "$OUTPUT"
ios_handleResult "$FIFO"
}
quicklook() {
if [[ $# -eq 0 ]]; then
if tty -s; then
cat <<EOF
Usage: quicklook [FILE]...
Show QuickLook preview for files and directories. Alternatively you can pipe in text and call it without arguments.
EOF
return 0
fi
fi
FIFO=$(ios_prepareResult)
OUTPUT=$(
awk 'BEGIN {printf "6;quicklook://?ver=2&respond="}'
ios_printBase64Component "$FIFO"
awk 'BEGIN {printf "&pwd="}'
ios_printBase64Component "$PWD"
awk 'BEGIN {printf "&home="}'
ios_printBase64Component "$HOME"
for var in "$@"
do
awk 'BEGIN {printf "&path="}'
ios_printBase64Component "$var"
done
if [[ $# -eq 0 ]]; then
text=$(cat -)
awk 'BEGIN {printf "&text="}'
ios_printBase64Component "$text"
fi
)
ios_sequence "$OUTPUT"
ios_handleResult "$FIFO"
}
textastic() {
if [[ $# -eq 0 ]]; then
cat <<EOF
Usage: textastic <text-file>
Open in Textastic 9.5 or later.
File must be in directory represented in the Files app to allow writing back edits.
EOF
else
if [ ! -e "$1" ]; then
touch "$1"
fi
OUTPUT=$(
awk 'BEGIN {printf "6;textastic://?ver=2&pwd="}'
ios_printBase64Component "$PWD"
awk 'BEGIN {printf "&home="}'
ios_printBase64Component "$HOME"
awk 'BEGIN {printf "&path="}'
ios_printBase64Component "$1"
)
ios_sequence "$OUTPUT"
fi
}
openUrl() {
if [[ $# -eq 0 ]]; then
cat <<EOF
Usage: openUrl <url>
Open URL on iOS.
EOF
else
FIFO=$(ios_prepareResult)
OUTPUT=$(
awk 'BEGIN {printf "6;open://?ver=2&respond="}'
ios_printBase64Component "$FIFO"
awk 'BEGIN {printf "&url="}'
ios_printBase64Component "$1"
)
ios_sequence "$OUTPUT"
ios_handleResult "$FIFO"
fi
}
runShortcut() {
local baseUrl="shortcuts://run-shortcut"
if [[ $1 == "--x-callback" ]]; then
local baseUrl="shortcuts://x-callback-url/run-shortcut"
shift
fi
if [[ $# -eq 0 ]]; then
cat <<EOF
Usage: runShortcut [--x-callback] <shortcut-name> [input-for-shortcut]
Run in Shortcuts app bringing back results if --x-callback is included.
EOF
else
local name=$(ios_printURIComponent "$1")
shift
local input=$(ios_printURIComponent "$*")
openUrl "$baseUrl?name=$name&input=$input"
fi
}
notify() {
if [[ $# -eq 0 ]]; then
cat <<EOF
Usage: notify <title> [body]
Show notification on iOS device.
Title cannot contain semicolon.
EOF
else
local title="${1-}" body="${2-}"
OUTPUT=$(
echo $title | awk -F";" 'BEGIN {printf "777;notify;"} {printf "%s;", $1}'
echo $body
)
ios_sequence "$OUTPUT"
fi
}
# copy standard input or arguments to iOS clipboard
pbcopy() {
OUTPUT=$(
awk 'BEGIN {printf "52;c;"} '
if [ $# -eq 0 ]; then
base64 | tr -d '\n'
else
echo -n "$@" | base64 | tr -d '\n'
fi
)
ios_sequence "$OUTPUT"
}
# paste from iOS device clipboard to standard output
pbpaste() {
FIFO=$(ios_prepareResult)
OUTPUT=$(
awk 'BEGIN {printf "6;pbpaste://?ver=2&respond="}'
ios_printBase64Component "$FIFO"
)
ios_sequence "$OUTPUT"
ios_handleResult "$FIFO"
}
# Secure ShellFish supports 24-bit colors
export COLORTERM=truecolor
if [[ -z "$INSIDE_EMACS" && $- = *i* ]]; then
# tmux mouse mode enables scrolling with
# swipe and mouse wheel
if [[ -n "$TMUX" ]]; then
tmux set -g mouse on
fi
# send the current directory using OSC 7 when showing prompt to
# make filename detection work better for interactive shell
update_terminal_cwd() {
ios_sequence $(
awk "BEGIN {printf \"7;%s\", \"file://$HOSTNAME\"}"
ios_printURIComponent "$PWD"
)
}
if [ -n "$ZSH_VERSION" ]; then
precmd() { update_terminal_cwd; }
elif [[ $PROMPT_COMMAND != *"update_terminal_cwd"* ]]; then
PROMPT_COMMAND="update_terminal_cwd${PROMPT_COMMAND:+; $PROMPT_COMMAND}"
fi
fi
fi

View file

@ -1,153 +0,0 @@
#ControlMaster auto
#ControlPath ~/.ssh/controlmasters/%r@%h:%p
CanonicalizeHostname yes
CanonicalDomains home.ld linux-help.org
CanonicalizeMaxDots 1
CanonicalizeFallbackLocal yes
GSSAPIAuthentication no
GSSAPIDelegateCredentials no
Include config.d/*.inc
Host package-repo
Hostname bastion.home.ld
IdentitiesOnly yes
IdentityFile ~/.ssh/manual/id_repo
Host mega-backups
Hostname mega.home.ld
IdentitiesOnly yes
IdentityFile ~/.ssh/manual/id_backups
Host github.com github.com.linux-help.org
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
Host bbs.home.ld bbs
User bbs
Host bbs-old.home.ld bbs-old
User bbs
Port 2222
Host dheaven
Hostname bbs.home.ld
User !Psi-Jack
Port 2222
PasswordAuthentication yes
Ciphers aes128-cbc
#Host 172.17.10.80 work
# HostName 172.17.10.80
# user erenfro
# CompressionLevel 8
# Cipher blowfish
# ForwardX11Trusted yes
# ForwardAgent yes
#Host aws1
# User root
# IdentityFile ~/.ssh/aws_rsa
# Hostname 54.243.188.148
# #Hostname ec2-54-242-113-60.compute-1.amazonaws.com
Host hub
User bbs
#Hostname hub.deckersheaven.com
Host do1
User root
Hostname 192.241.250.242
#Host *.mco.ld *.ecp.ld *.phx.ld *.ewr.ld *.bookit.com
# User eric.renfro
# IdentityFile ~/.ssh/work_rsa
#Host 172.16.* 172.19.* 172.20.* 172.21.* 172.22.* 172.23.* 172.24.* 172.25.*
# User eric.renfro
# IdentityFile ~/.ssh/work_rsa
Host router.home.ld router
User psi-jack
Host vmskel
Hostname 172.17.69.69
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
User admin
LogLevel QUIET
#Host gogs2.home.ld
# User psi-jack@linux-help.org
Host mx.linux-help.org web.linux-help.org
KeepAlive yes
User erenfro
ServerAliveInterval 60
ForwardAgent yes
Host 172.17.252.5
User psi-jack
KeepAlive yes
ForwardAgent yes
ForwardX11 no
ForwardX11Trusted no
Host *.home.ld
User psi-jack
KeepAlive yes
ServerAliveInterval 60
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
GSSAPIAuthentication no
GSSAPIDelegateCredentials no
#Host *.bookit.com *.ism.ld *.ewr.ld *.phx.ld *.ecp.ld 172.26.1.99 172.24.1.99 172.20.1.99
# User eric.renfro
# KeepAlive yes
# ServerAliveInterval 60
# ForwardAgent yes
# ForwardX11 yes
# ForwardX11Trusted yes
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
#Host gleim
# User earenfro
# Port 224
# DynamicForward 4080
# Hostname dev.teamgleim.com
# ForwardAgent yes
# ForwardX11 no
#
#Host *.teamgleim.com
# User earenfro
# Port 224
# ServerAliveInterval 60
# ForwardAgent yes
# ForwardX11 no
Host worktop.home.ld
User eric
Host * !mega.home.ld
ControlMaster auto
ControlPath ~/.ssh/controlmasters/%r@%h:%p
#User psi-jack
KeepAlive yes
{% if yadm.os == "Darwin" %}
UseKeyChain yes
{% endif %}
ServerAliveInterval 60
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
GSSAPIAuthentication no
GSSAPIDelegateCredentials no

View file

@ -1,44 +0,0 @@
Host ceweb
Hostname jand.dyndns.biz
Port 22
user mykael
Host cewebproxy
Hostname jand.dyndns.biz
Port 22
user mykael
DynamicForward 5534
Host cebackdoor
Hostname jand.dyndns.biz
Port 2022
user mykael
Host cerobust1
Hostname robust1
user mykael
ProxyJump ceweb
Host cerobust2
Hostname 192.168.1.52
user mykael
ProxyJump ceweb
Host ceregions1
Hostname regions1
user mykael
ProxyJump ceweb
Host ceregions2
Hostname regions2
user mykael
ProxyJump ceweb
Host ceregions3
Hostname regions3
user mykael
ProxyJump ceweb
Host ceregions4
Hostname regions4
user mykael
ProxyJump ceweb
#Host cegrid
# Hostname jand.dyndns.biz
# Port 23
# User mykael
Host *.cegrid.ld
User mykael

View file

@ -2,10 +2,7 @@
# === General Settings ===
# ==========================
#set-option -sa terminal-overrides ",$TERM:RGB"
#set-option -ga terminal-overrides ",$TERM:Tc"
#set -g default-terminal "screen-256color"
#set -g default-terminal "tmux-256color"
set -g default-terminal "screen-256color"
set -g history-limit 5000
set -g buffer-limit 20
set -sg escape-time 10
@ -16,9 +13,6 @@ setw -g allow-rename on
setw -g automatic-rename on
setw -g aggressive-resize off
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colors - needs tmux-3.0
# Change prefix key to C-a, easier to type, same as "screen"
unbind C-b
set -g prefix C-a
@ -35,9 +29,6 @@ set -g mouse on
set -g prefix C-a
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
#bind-key -n Home send Escape "OH"
#bind-key -n End send Escape "OF"
# ==========================
# === Key Bindings ===
# ==========================
@ -55,7 +46,7 @@ bind -n M-Right next-window
bind -n M-Left previous-window
# Synchronization
#bind-key -n F2 set-window-option synchronize-panes
bind-key -n F2 set-window-option synchronize-panes
# Window/Session
bind-key n command-prompt -p "rename-window:" -I "#{window_name}" "rename-window '%%'"
@ -67,16 +58,12 @@ bind < swap-pane -U # swap current pane with the previous one
bind C-c new-session
bind Tab last-window
bind C-a last-window
bind b send-prefix
bind X confirm-before -p "kill-window #W? (y/n)" kill-window
# ================================================
# === Copy mode, scroll and clipboard ===
# ================================================
#set -g @copy_use_osc52_fallback off
set -s set-clipboard on
#set -as terminal-features ',screen-256color:clipboard'
set -sa terminal-features ",alacritty*:256:RGB:bpaste:clipboard:mouse:strikethrough:title:ccolour:cstyle:focus:overline:usstyle:hyperlinks:sync"
set -g @copy_use_osc52_fallback off
# Prefer vi style key table
setw -g mode-keys vi
@ -89,27 +76,26 @@ bind C-p choose-buffer
yank="~/.tmux/yank.sh"
# Copy selected text (removed for testing)
#bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "$yank"
#bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "$yank"
##bind -T copy-mode-vi Y send-keys -X copy-line \;\
## run "tmux save-buffer - | $yank"
#bind -T copy-mode-vi Y send-keys -X copy-pipe-and-cancel "$yank; tmux paste-buffer"
#bind -T copy-mode-vi C-j send-keys -X copy-pipe-and-cancel "$yank"
#bind-key -T copy-mode-vi D send-keys -X copy-end-of-line \;\
# run "tmux save-buffer - | $yank"
#bind-key -T copy-mode-vi A send-keys -X append-selection-and-cancel \;\
# Copy selected text
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "$yank"
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "$yank"
#bind -T copy-mode-vi Y send-keys -X copy-line \;\
# run "tmux save-buffer - | $yank"
bind -T copy-mode-vi Y send-keys -X copy-pipe-and-cancel "$yank; tmux paste-buffer"
bind -T copy-mode-vi C-j send-keys -X copy-pipe-and-cancel "$yank"
bind-key -T copy-mode-vi D send-keys -X copy-end-of-line \;\
run "tmux save-buffer - | $yank"
bind-key -T copy-mode-vi A send-keys -X append-selection-and-cancel \;\
run "tmux save-buffer - | $yank"
## Copy selection on drag end event, but do not cancel copy mode and do not clear selection
## clear select on subsequence mouse click
##bind -T copy-mode-vi MouseDragEnd1Pane \
## send-keys -X copy-pipe "$yank"
#unbind -T copy-mode-vi MouseDragEnd1Pane
#bind -T copy-mode-vi MouseDown1Pane select-pane \;\
# send-keys -X copy-pipe "$yank" \;\
# send-keys -X clear-selection
# End (removed for testing) Section
# Copy selection on drag end event, but do not cancel copy mode and do not clear selection
# clear select on subsequence mouse click
#bind -T copy-mode-vi MouseDragEnd1Pane \
# send-keys -X copy-pipe "$yank"
unbind -T copy-mode-vi MouseDragEnd1Pane
bind -T copy-mode-vi MouseDown1Pane select-pane \;\
send-keys -X copy-pipe "$yank" \;\
send-keys -X clear-selection
set -g bell-action any
@ -153,7 +139,7 @@ set -g status-left-length 1000
set -g status-right-length 1000
set -g status-left "#[fg=#000000,bg=#ffff00,bold] ❐ #S #[fg=#ffff00,bg=default,none] "
set -g status-right '#[fg=#000000]#{prefix}#{synchronized}#{sharedsession}#[fg=#8a8a8a,bg=#000000]#[fg=#e4e4e4] #{cpu_icon} #[fg=#8a8a8a]#[fg=#e4e4e4] %R #[fg=#8a8a8a]#[fg=#e4e4e4] %d %b #[fg=#d70000]#[fg=#ffffff,bg=#d70000] #{username} #[fg=#e4e4e4,bg=#d70000,bold]#[fg=#000000,bg=#e4e4e4] #{hostname} #[bg=default]'
set -g status-right '#[fg=#000000]#{prefix}#{synchronized}#{sharedsession}#[fg=#8a8a8a,bg=#000000]#[fg=#e4e4e4] #{cpu_icon} #[fg=#8a8a8a]#[fg=#e4e4e4] %R #[fg=#8a8a8a]#[fg=#e4e4e4] %d %b #[fg=#d70000]#[fg=#ffffff,bg=#d70000] #{username} #[fg=#e4e4e4,bg=#d70000,bold]#[fg=#000000,bg=#e4e4e4] #{hostname} '
set -g status-style "fg=#8a8a8a,bg=#080808"
set -g status-left-style "fg=#8a8a8a,bg=#080808"
@ -171,8 +157,7 @@ setw -g pane-border-status off
setw -g pane-border-style "fg=#444444"
setw -g window-style default
setw -g window-active-style "bg=default"
#setw -g window-active-style "bg=#000000"
setw -g window-active-style "bg=#000000"
setw -g window-status-format "#I #W"
setw -g window-status-style "fg=#8a8a8a,bg=#080808"
setw -g window-status-last-style "fg=#00afff,bg=#080808,bright"
@ -190,7 +175,7 @@ setw -g window-status-separator " "
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-yank'
#set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'https://git.linux-help.org/psi-jack/tmux-host.git'
set -g @plugin 'https://git.linux-help.org/psi-jack/tmux-indicators.git'

View file

@ -73,5 +73,3 @@ bind -T root M-F12 \
# In remote mode we don't show "clock" and "battery status" widgets
#set -g status-left "$wg_session"
#set -g status-right "#{prefix_highlight} $wg_is_keys_off $wg_is_zoomed #{sysstat_cpu} | #{sysstat_mem} | #{sysstat_loadavg} | $wg_user_host | #{online_status}"
new-session -s default

3
.zimrc
View file

@ -21,9 +21,6 @@ zmodule utility
zmodule git-info
# A customizable version of steeef's prompt theme.
zmodule eriner
zmodule prompt-pwd
zmodule exa
zmodule fzf
# Additional completion definitions for Zsh.
zmodule zsh-users/zsh-completions

View file

@ -7,11 +7,3 @@
: ${ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim}
# }}} End configuration added by Zim install
if [[ -r "$HOME/.profile" ]]; then
. "$HOME/.profile"
fi
if [[ -r "$HOME/.cargo/env" ]]; then
. "$HOME/.cargo/env"
fi

48
.zshrc
View file

@ -122,64 +122,18 @@ bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
# }}} End configuration added by Zim install
# Homebrew
#if [[ -d "/home/linuxbrew/.linuxbrew" ]]; then
# eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
#fi
# Set Path:
typeset -U PATH
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
export PATH
# Portable alternative to readlink -f
zpath() { cd -P . || return
_out() { printf "%s$_zdlm\n" "$PWD/${1##*/}"; }
_cd() { cd -P "$1" ; } >/dev/null 2>&1
while [ $# -gt 0 ] && _cd .
do if _cd "$1"
then _out
elif ! [ -L "$1" ] && [ -e "$1" ]
then _cd "${1%/*}"; _out "$1"
elif [ -L "$1" ]
then ( while set -- "${1%?/}"; _cd "${1%/*}"; [ -L "${1##*/}" ]
do set " $1" "$(_cd -; ls -nd -- "$1"; echo /)"
set -- "${2#*"$1" -> }"
done; _out "$1"
); else ( PS4=ERR:\ NO_SUCH_PATH; set -x; : "$1" )
fi; _cd -; shift; done
unset -f _out _cd; unset -v _zdlm
}
# Include local functions/aliases/environments:
while read f
do
#if [[ -f "$(zpath "$f")" ]]; then
# source "$f"
#fi
source "$f"
done < <(find "${HOME}/.local/dotfiles/" \( -type l -o -type f \) -name '*.zsh')
done < <(find "${HOME}/.local/dotfiles/" -type f -name '*.zsh')
# Disable Ctrl+S Scroll-Locking
stty -ixon
# iTerm2 Shell Integration
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
# ShellFish Integration
if [[ -r "${HOME}/.shellfish" ]]; then
source "${HOME}/.shellfish"
fi
# GoLang Integration
if [[ -d "${HOME}/.go/bin" ]]
then
export PATH=$PATH:/home/psi-jack/.go/bin
export GOPATH=/home/psi-jack/go
export PATH=$PATH:/home/psi-jack/go/bin
fi
# Added by Atuin:
eval "$(atuin init zsh)"