~gpanders/dotfiles

8bbb6b42ada8c7e573ffba9c35b376dd6bec1d15 — Greg Anders 1 year, 9 months ago 7b81dc5
Move weechat config directory to .config/weechat

Also add appropriate aliases to each shell to make sure weechat reads
from this directory.
33 files changed, 36 insertions(+), 4 deletions(-)

M .gitattributes
M bash/.bash_aliases
A fish/.config/fish/functions/weechat.fish
R weechat/{.weechat/alias.conf => .config/weechat/alias.conf}
R weechat/{.weechat/autosort.conf => .config/weechat/autosort.conf}
R weechat/{.weechat/buffer_autoset.conf => .config/weechat/buffer_autoset.conf}
R weechat/{.weechat/buffers.conf => .config/weechat/buffers.conf}
R weechat/{.weechat/buflist.conf => .config/weechat/buflist.conf}
R weechat/{.weechat/charset.conf => .config/weechat/charset.conf}
R weechat/{.weechat/colorize_nicks.conf => .config/weechat/colorize_nicks.conf}
R weechat/{.weechat/exec.conf => .config/weechat/exec.conf}
R weechat/{.weechat/fifo.conf => .config/weechat/fifo.conf}
R weechat/{.weechat/fset.conf => .config/weechat/fset.conf}
R weechat/{.weechat/guile.conf => .config/weechat/guile.conf}
R weechat/{.weechat/irc.conf => .config/weechat/irc.conf}
A weechat/.config/weechat/javascript.conf
R weechat/{.weechat/logger.conf => .config/weechat/logger.conf}
R weechat/{.weechat/lua.conf => .config/weechat/lua.conf}
R weechat/{.weechat/perl.conf => .config/weechat/perl.conf}
A weechat/.config/weechat/php.conf
R weechat/{.weechat/plugins.conf => .config/weechat/plugins.conf}
R weechat/{.weechat/python.conf => .config/weechat/python.conf}
R weechat/{.weechat/relay.conf => .config/weechat/relay.conf}
R weechat/{.weechat/ruby.conf => .config/weechat/ruby.conf}
R weechat/{.weechat/script.conf => .config/weechat/script.conf}
R weechat/{.weechat/sec.conf => .config/weechat/sec.conf}
R weechat/{.weechat/spell.conf => .config/weechat/spell.conf}
R weechat/{.weechat/tcl.conf => .config/weechat/tcl.conf}
R weechat/{.weechat/trigger.conf => .config/weechat/trigger.conf}
R weechat/{.weechat/weechat.conf => .config/weechat/weechat.conf}
R weechat/{.weechat/xfer.conf => .config/weechat/xfer.conf}
M weechat/.gitignore
M zsh/.zaliases
M .gitattributes => .gitattributes +1 -1
@@ 1,2 1,2 @@
mutt/.config/mutt/aliases filter=git-crypt diff=git-crypt
weechat/.weechat/sec.conf filter=git-crypt diff=git-crypt
weechat/.config/weechat/sec.conf filter=git-crypt diff=git-crypt

M bash/.bash_aliases => bash/.bash_aliases +1 -0
@@ 36,3 36,4 @@ do
done

alias tmux="tmux -f ${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf"
alias weechat="weechat -d ${XDG_CONFIG_HOME:-$HOME/.config}/weechat"

A fish/.config/fish/functions/weechat.fish => fish/.config/fish/functions/weechat.fish +3 -0
@@ 0,0 1,3 @@
function weechat -d "Alias for weechat with custom config location"
    command weechat -d $HOME/.config/weechat $argv
end

R weechat/.weechat/alias.conf => weechat/.config/weechat/alias.conf +0 -0
R weechat/.weechat/autosort.conf => weechat/.config/weechat/autosort.conf +0 -0
R weechat/.weechat/buffer_autoset.conf => weechat/.config/weechat/buffer_autoset.conf +0 -0
R weechat/.weechat/buffers.conf => weechat/.config/weechat/buffers.conf +0 -0
R weechat/.weechat/buflist.conf => weechat/.config/weechat/buflist.conf +0 -0
R weechat/.weechat/charset.conf => weechat/.config/weechat/charset.conf +0 -0
R weechat/.weechat/colorize_nicks.conf => weechat/.config/weechat/colorize_nicks.conf +0 -0
R weechat/.weechat/exec.conf => weechat/.config/weechat/exec.conf +0 -0
R weechat/.weechat/fifo.conf => weechat/.config/weechat/fifo.conf +0 -0
R weechat/.weechat/fset.conf => weechat/.config/weechat/fset.conf +0 -0
R weechat/.weechat/guile.conf => weechat/.config/weechat/guile.conf +0 -0
R weechat/.weechat/irc.conf => weechat/.config/weechat/irc.conf +0 -0
A weechat/.config/weechat/javascript.conf => weechat/.config/weechat/javascript.conf +14 -0
@@ 0,0 1,14 @@
#
# weechat -- javascript.conf
#
# WARNING: It is NOT recommended to edit this file by hand,
# especially if WeeChat is running.
#
# Use /set or similar command to change settings in WeeChat.
#
# For more info, see: https://weechat.org/doc/quickstart
#

[look]
check_license = off
eval_keep_context = on

R weechat/.weechat/logger.conf => weechat/.config/weechat/logger.conf +0 -0
R weechat/.weechat/lua.conf => weechat/.config/weechat/lua.conf +0 -0
R weechat/.weechat/perl.conf => weechat/.config/weechat/perl.conf +0 -0
A weechat/.config/weechat/php.conf => weechat/.config/weechat/php.conf +14 -0
@@ 0,0 1,14 @@
#
# weechat -- php.conf
#
# WARNING: It is NOT recommended to edit this file by hand,
# especially if WeeChat is running.
#
# Use /set or similar command to change settings in WeeChat.
#
# For more info, see: https://weechat.org/doc/quickstart
#

[look]
check_license = off
eval_keep_context = on

R weechat/.weechat/plugins.conf => weechat/.config/weechat/plugins.conf +0 -0
R weechat/.weechat/python.conf => weechat/.config/weechat/python.conf +0 -0
R weechat/.weechat/relay.conf => weechat/.config/weechat/relay.conf +0 -0
R weechat/.weechat/ruby.conf => weechat/.config/weechat/ruby.conf +0 -0
R weechat/.weechat/script.conf => weechat/.config/weechat/script.conf +0 -0
R weechat/.weechat/sec.conf => weechat/.config/weechat/sec.conf +0 -0
R weechat/.weechat/spell.conf => weechat/.config/weechat/spell.conf +0 -0
R weechat/.weechat/tcl.conf => weechat/.config/weechat/tcl.conf +0 -0
R weechat/.weechat/trigger.conf => weechat/.config/weechat/trigger.conf +0 -0
R weechat/.weechat/weechat.conf => weechat/.config/weechat/weechat.conf +0 -0
R weechat/.weechat/xfer.conf => weechat/.config/weechat/xfer.conf +0 -0
M weechat/.gitignore => weechat/.gitignore +2 -2
@@ 1,2 1,2 @@
.weechat/*
!.weechat/*.conf
.config/weechat/*
!.config/weechat/*.conf

M zsh/.zaliases => zsh/.zaliases +1 -1
@@ 37,8 37,8 @@ alias py2="python2"
alias py3="python3"
alias pipu="pip install -U \$(pip list -o | awk 'NR > 2 {print \$1}' | paste -sd ' ' -)"

# Attach to existing session if it exists
alias tmux="tmux -f ${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf"
alias weechat="weechat -d ${XDG_CONFIG_HOME:-$HOME/.config}/weechat"

if [ -n $EDITOR ]; then
    alias e="$EDITOR"