aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore110
-rwxr-xr-x.local/bin/git-mkbare64
-rw-r--r--.ssh/known_hosts1
-rw-r--r--.weechat/weechat.conf3
4 files changed, 68 insertions, 110 deletions
diff --git a/.gitignore b/.gitignore
index ac23a72..72e8ffc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,109 +1 @@
-# Ignore everything except the gitignore file itself
-/*
-!.gitignore
-
-# Allow directories in ~/.config
-!/.config/
-/.config/*
-
-# Allow directories in ~/.local
-!/.local/
-/.local/*
-
-#
-# Shell customization
-#
-
-!/.zshrc
-!/.bashrc
-!/.config/shell/
-/.config/shell/vendor
-
-#
-# Custom shell utilities
-#
-
-!/.local/bin
-/.local/bin/*
-
-# template files
-!/.local/templates
-
-# gittab
-!/.local/bin/gittab
-!/.local/etc
-/.local/etc/*
-!/.local/etc/gittab
-
-# misc
-!/.local/bin/chomp
-!/.local/bin/chwp
-!/.local/bin/git-branch-cleanup
-!/.local/bin/kubecontext
-!/.local/bin/load
-!/.local/bin/lpass
-!/.local/bin/mkbak
-!/.local/bin/mkchecksums
-!/.local/bin/mkpasswd
-!/.local/bin/new
-!/.local/bin/signal
-!/.local/bin/ta
-!/.local/bin/uncolor
-!/.local/bin/up
-
-#
-# Application specific dotfiles
-#
-
-# app-editors/vim
-!/.vim/
-/.vim/bundle
-/.vim/.netrwhist
-/.vim/view
-
-# dev-vcs/git
-!/.config/git
-
-# net-irc/weechat
-!/.weechat/
-/.weechat/*
-!/.weechat/weechat.conf
-!/.weechat/plugins.conf
-
-# net-misc/openssh
-!/.ssh/
-/.ssh/*
-!/.ssh/config
-!/.ssh/known_hosts
-!/.ssh/authorized_keys
-
-# www-client/firefox
-!/.mozilla/
-/.mozilla/*
-!/.mozilla/firefox/
-/.mozilla/firefox/*
-!/.mozilla/firefox/profiles.ini
-!/.mozilla/firefox/installs.ini
-!/.local/etc/firefox/
-/.local/etc/firefox/*
-!/.local/etc/firefox/user.js
-!/.local/etc/firefox/prefs.js
-!/.local/etc/firefox/chrome/
-
-# x11-misc/sxhkd
-!/.config/sxhkd
-
-# x11-terms/termite https://anongit.gentoo.org/git/user/eroen.git
-!/.config/termite
-
-# x11-wm/awesome
-!/.config/awesome/
-/.config/awesome/gtd_next_items
-
-# https://gitlab.com/tyil/perl6-app-gtd
-!/.config/gtd
-
-#
-# Miscellaneous
-#
-!/.local/etc/uninames.txt
+*
diff --git a/.local/bin/git-mkbare b/.local/bin/git-mkbare
new file mode 100755
index 0000000..bd9615c
--- /dev/null
+++ b/.local/bin/git-mkbare
@@ -0,0 +1,64 @@
+#! /usr/bin/env sh
+
+main()
+{
+ # Handle opts
+ opts "$@"
+ shift "$OPTS"
+ unset OPTS
+
+ # Show help
+ [ "$OPT_HELP_ONLY" ] && usage && exit 0
+
+ location=$(readlink -f "${1:-$PWD}")
+
+ # Prompt for location
+ printf "%s: [%s] " "Path" "$location"
+ read -r input
+ [ -z "$input" ] || location=$(readlink -f "$input")
+ unset input
+
+ # Prompt for description
+ printf "%s: " "Description"
+ read -r description
+
+ # Create the bare git repository
+ mkdir -p "$location"
+ cd -- "$location"
+ git --bare init
+
+ # Update the description, if given
+ printf "%s\n" "$description" > "$location/description"
+}
+
+opts()
+{
+ OPTS=0
+
+ while getopts ":h" opt
+ do
+ case "$opt" in
+ h) OPT_HELP_ONLY=1 ;;
+ *)
+ printf "Invalid option passed: %s\n" "$OPTARG" >&2
+ ;;
+ esac
+ done
+
+ unset opt
+}
+
+usage()
+{
+ cat <<EOF
+Usage:
+ $(basename "$0") -h
+
+Create a bare git repository at a target location.
+
+Options:
+ -h Show this help text and exit.
+EOF
+}
+
+main "$@"
diff --git a/.ssh/known_hosts b/.ssh/known_hosts
index 89530fb..3bbea6b 100644
--- a/.ssh/known_hosts
+++ b/.ssh/known_hosts
@@ -11,6 +11,7 @@ lists.dblug.nl,80.211.179.238 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNT
minion4.tyil.net,116.203.88.186 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAdz+5Cgsd1VzopB+zYm5WCRtqoS19UXwD6Q3zqZH+4XdTWkL/pQck6yhildQA9A1nJbXlRl3oCKaA20bWomoDU=
minion5.tyil.net,116.203.82.157 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFQ6T3xwyBmQ73qLqc60YupMOxeq5L5ojpRwEQefI0ohg36L5PiunGt0hDK5B7+aX6v7s1Qpzi1sjL7IfRT2KDA=
minion6.tyil.net,116.203.136.58 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOoy3n+I2CfCE5dak1tLw5xguDGUD66F02rTzO03m3du8kSR8XFRaUhwoq+Fc70og4TAldmObFyXQtugZg1eAds=
+store0-0 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLpOlQ7Dvgbi2Cl22chYwQJwmoYl2Fp8yfDA28/Pzchha+zAAUXgoSlyHPIhH0zYXu5qrMayz/gpGPrkYGyO0hY=
store0-0.tyil.net,37.59.61.70 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLpOlQ7Dvgbi2Cl22chYwQJwmoYl2Fp8yfDA28/Pzchha+zAAUXgoSlyHPIhH0zYXu5qrMayz/gpGPrkYGyO0hY=
tyil.email,81.2.255.186 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDCv3CP4eRfkGgx7IDKoi4X6nz4E8GzhLEmoXfhcMudCD4qXXtXyVSOgvAlbiIdV1IdNngDWsPJtAh6wRYZomU4=
diff --git a/.weechat/weechat.conf b/.weechat/weechat.conf
index 5ac7b0f..452fce3 100644
--- a/.weechat/weechat.conf
+++ b/.weechat/weechat.conf
@@ -57,7 +57,7 @@ eat_newline_glitch = off
emphasized_attributes = ""
highlight = ""
highlight_regex = ""
-highlight_tags = "slack_channel+nick_pingdom"
+highlight_tags = "slack_channel+nick_pingdom,slack_channel+nick_kibana,slack_channel+nick_alertmanager"
hotlist_add_conditions = "${away} || ${buffer.num_displayed} == 0"
hotlist_buffer_separator = ", "
hotlist_count_max = 2
@@ -393,6 +393,7 @@ vi_line_numbers.size_max = 0
vi_line_numbers.type = window
[layout]
+_zoom.window = "1;0;0;0;python;mintlab.slack.com.petermoen"
[notify]